Closed vieira closed 3 years ago
@vieira I see. Seems like you expect to override api-gateway continue wait timeout which is not overridable right now: https://github.com/cube-js/cube.js/blob/master/packages/cubejs-server-core/core/OrchestratorApi.js#L24
I think we can introduce some global continueWaitTimeout
CubejsServerCore
option which will be used here and by all queues by default.
Describe the bug Even though I defined
continueWaitTimeout
to be120
the "Continue wait" response is sent after ~5s (the default).To Reproduce Steps to reproduce the behavior:
continueWaitTimeout
to some value different than the default (5).5s
to run.Continue wait
response after5s
. (Also visible in the logs, screenshot below).Expected behavior I expected to receive a
Continue Wait
response only after the configuredcontinueWaitTimeout
.Screenshots
Version: @cubejs-backend/server-core: 0.10.46
Notes: This might be related to #224 but is also happening in production where redis is being used, so I am not sure.