1

我正在使用节点服务器处理 graphql(Apollo)。如果大约 15 分钟内没有请求到达服务器,我会遇到服务器崩溃的问题。我在控制台中收到以下错误

{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
{ Error: read ETIMEDOUT
    at exports._errnoException (util.js:1034:11)
    at TCP.onread (net.js:584:26) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'read' }
events.js:163
      throw er; // Unhandled 'error' event

我的配置中是否缺少任何特定配置?

4

0 回答 0