Possible to change timeout settings? WebSocketClosedError()

Hi all,

I have a function that takes at least one hour to compute. When I run the function the app states “Running Expensive_Function()”, which is fine. However, after 20 minutes, the browser gives a timeout. Is it possible to change the timeout limit, such that the “Running Expensive_Function()” message remains even after 20 minutes?

Best regards,