JackRabbott

What is the event for server close/crash?

Recommended Posts

You can't hook on server crash because the server already crashed.. which means your code is no longer running. Use an external memory cache if you don't want to lose important data in memory. Check out redis or memcached.

Share this post


Link to post
Share on other sites
13 hours ago, micaww said:

You can't hook on server crash because the server already crashed.. which means your code is no longer running. Use an external memory cache if you don't want to lose important data in memory. Check out redis or memcached.

The server is stable and wouldn't crash itself. As for termination caused by errors in scripts, there are events both in NodeJS and C# API.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.