load is still not thread-safe. This makes my auto-loading unsafe. Also learned about autoload, which does some similar things to what I'm doing, but is being deprecated because it's unsafe. Which makes sense, as it should have the same problems I'm experiencing.
Also, I couldn't find anything that described what Sinatra did when it was in development mode - there's a few things I found browsing through the source:
- Sets the error pages to the Sinatra versions
- Something with the session secret
- Turns on template reloading
- Binds only to localhost
- Turns on showing exceptions
... and that's it.
No comments:
Post a Comment