Title: RE: Restart Key
Thread: Restart Key
I see, however by using a file to signal the application to reset itself will
imply that there should be some IO involved to detect the file right? also how
do you make sure that it is done only once?
I also thought about the key on
the config, but as you say, it pretty much defeats the purpose since that is
done only once per application cycle.
I didn't like much the idea of using a
hardcoded key, but for this scenario and with the fact that this must be checked
on every single request processed, seemed to me the most simple and direct way.