I tried putting in your suggested migration settings (and reloaded); it is
still spending about the same amount of time in fcntl.flock.
- Scott
On Sunday, September 4, 2016 at 7:27:08 AM UTC-4, 黄祥 wrote:
>
> for reload i think it's just for reload the configuration of web server
> service (sometime it fixed some strange problem) n for the value of migrate
> in private/appconfig.ini i think it should be true or false
> e.g.
> *models/db.py*
> db = DAL(myconf.get('db.uri'),
> pool_size = myconf.get('db.pool_size'),
> migrate_enabled = myconf.get('db.migrate_enabled'),
> #migrate = myconf.get('db.migrate'),
> #fake_migrate = myconf.get('db.fake_migrate'),
> #fake_migrate_all = myconf.get('db.fake_migrate_all'),
> check_reserved = ['all'],
> lazy_tables = True)
>
> *private/appconfig.ini*
> [db]
> uri = sqlite://a.sqlite
> pool_size = 10 ; ignored for sqlite
> migrate_enabled = false
> migrate = false
> fake_migrate = false
> fake_migrate_all = false
>
> best regards,
> stifan
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.