Monday, 19 August 2013

GlobalSettings onStart fires only after first request

GlobalSettings onStart fires only after first request

I need to run some code only once when I starts the play server. When
using the GlobalSettings.OnStart() I notice that the code is executed only
after the first (http) request to the server. Any idea how can I run my
code just after the server starts and before any request is sent?
Thanks

No comments:

Post a Comment