@Anthony

I was asking about reimport not reload.
Does track_changes appy to both?


domingo, 7 de Abril de 2019 às 18:30:24 UTC+1, Anthony escreveu:
>
> On Sunday, April 7, 2019 at 1:19:08 PM UTC-4, João Matos wrote:
>>
>> @Massimo
>>
>> You state
>> "In web2py we do not reload the modules. we reimport them at every 
>> request. this causes a performance penalty and is only needed in 
>> development."
>>
>> Does this mean it is possible to disable module reimport at every request 
>> in web2py when in production (or did I misunderstood you)? How?
>>
>
> Unless you have the following in a model file:
>
> from gluon.custom_import import track_changes; track_changes(True)
>
>  
> modules are not reloaded. And even with the above, they are only reloaded 
> if they have changed.
>
> Anthony
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to