Changes between Initial Version and Version 1 of Ticket #10554, comment 1
- Timestamp:
- Feb 12, 2012, 7:19:02 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10554, comment 1
initial v1 1 I think the general idea with `run_once` is that all will be cleared when the app exi sts its single run, so nothing in particular to worry about at intermediate stages.1 I think the general idea with `run_once` is that all will be cleared when the app exits its single run, so nothing in particular to worry about at intermediate stages. 2 2 3 For the `env.shutdown()` call the major tasks performed is thread-local cleaning of the db an repository pools - which sounds like a good idea to me. However, if this cleaning requires a full second for each request, then certainly the code should at least be reviewed to make sure we aren't too agressive when thread-cleaning.3 For the `env.shutdown()` call the major tasks performed is thread-local cleaning of the db and repository pools - which sounds like a good idea to me. However, if this cleaning requires a full second for each request, then certainly the code should at least be reviewed to make sure we aren't too agressive when thread-cleaning.