You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to #50. I've noticed that after trying to do a graceful shutdown(), my process hangs around for about ~30 seconds. Using wtfnode it seems that there is still a timer from generic-pool that keeps the process running for a while:
I'm guessing this is part of generic-pool's idle handling. idleTimeoutMillis defaults to 30s which is about the time I'm seeing before actual process exit.
Perhaps the rascal vhost should drain and clear the pools during shutdown?
From the generic-pool docs:
/** * Step 3 - Drain pool during shutdown (optional) */// Only call this once in your application -- at the point you want// to shutdown and stop using this pool.myPool.drain().then(function(){myPool.clear();});
I'm new to rascal but I'd be happy to work on a PR if you'd like this change.
The text was updated successfully, but these errors were encountered:
Related to #50. I've noticed that after trying to do a graceful
shutdown()
, my process hangs around for about ~30 seconds. Using wtfnode it seems that there is still a timer from generic-pool that keeps the process running for a while:I'm guessing this is part of generic-pool's idle handling.
idleTimeoutMillis
defaults to 30s which is about the time I'm seeing before actual process exit.Perhaps the rascal vhost should drain and clear the pools during shutdown?
From the generic-pool docs:
I'm new to rascal but I'd be happy to work on a PR if you'd like this change.
The text was updated successfully, but these errors were encountered: