node.js - Detecting client time out on NodeJS/Parse-Server cloud function -


we running parse-server (on nodejs).

we have written function run long time based on parameters specified user (from , date). noticed when client times out our function continues execute until finishes or manually kills it.

for now, have hard coded 2 minute time out on function self terminate after minutes wonder if there better way this. there way parse-server or nodejs detect client has timed out?


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -