OpenFn / kit

The bits & pieces that make OpenFn work. (diagrammer, cli, compiler, runtime, runtime manager, logger, etc.)
10 stars 9 forks source link

Worker: Log improvements and WORKER_MAX_SOCKET_TIMEOUT_SECONDS #749

Closed josephjclark closed 1 month ago

josephjclark commented 1 month ago

Adds WORKER_MAX_SOCKET_TIMEOUT_SECONDS variable to control socket timeouts.

A few other tiny logging tweaks here.

josephjclark commented 1 month ago

@taylordowns2000 The websocket timeout should be working on this branch Image should be built for 1.5.5

I don't have any automated or manual tests on the actual timeout. I know the value is being passed in to the Pheonix socket, I've just not verified it's working. It's a little tricky to setup a slow response in the mock - although it should be possible of course.

If you can test manually on the image I'm happy to release. I'll probably spend an hour on it in the morning and see if I can crack it quickly.

josephjclark commented 1 month ago

Oh bottoms, it's all failed :( Ok, I'll fix in the morning

josephjclark commented 1 month ago

Ok, should be sorted now :+1:

josephjclark commented 1 month ago

Test added so I'm happy that this is working as expected