peewee Documentation Release 2.10.2safe queue. A single worker thread listens to the queue and executes all queries that are sent to it. Transactions Because all queries are serialized and executed by a single worker thread, it is possible use_gevent=False, # Use the standard library "threading" module. autostart=False, # The worker thread now must be started manually. queue_max_size=64, # Max. # of pending writes that can accumulate you will need to call start() to bring up the worker threads that will do the actual write query execution. @app.before_first_request def _start_worker_threads(): db.start() If you plan on performing0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation
Release 2.10.2thread-safe queue. A single worker thread listens to the queue and executes all queries that are sent to it. Transactions Because all queries are serialized and executed by a single worker thread, it is possible 'my_app.db', use_gevent=False, # Use the standard library "threading" module. autostart=False, # The worker thread now must be started manually. queue_max_size=64, # Max. # of pending writes that can accumulate you will need to call start() to bring up the worker threads that will do the actual write query execution. @app.before_first_request def _start_worker_threads(): db.start() If you plan on performing0 码力 | 221 页 | 844.06 KB | 1 年前3
peewee Documentation Release 3.0.0safe queue. A single worker thread listens to the queue and executes all queries that are sent to it. Transactions Because all queries are serialized and executed by a single worker thread, it is possible use_gevent=False, # Use the standard library "threading" module. autostart=False, # The worker thread now must be started manually. queue_max_size=64, # Max. # of pending writes that can accumulate you will need to call start() to bring up the worker threads that will do the actual write query execution. @app.before_first_request def _start_worker_threads(): db.start() If you plan on performing0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation
Release 3.5.0safe queue. A single worker thread listens to the queue and executes all queries that are sent to it. Transactions Because all queries are serialized and executed by a single worker thread, it is possible use_gevent=False, # Use the standard library "threading" module. autostart=False, # The worker thread now must be started manually. queue_max_size=64, # Max. # of pending writes that can accumulate you will need to call start() to bring up the worker threads that will do the actual write query execution. @app.before_first_request def _start_worker_threads(): db.start() If you plan on performing0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0safe queue. A single worker thread listens to the queue and executes all queries that are sent to it. Transactions Because all queries are serialized and executed by a single worker thread, it is possible use_gevent=False, # Use the standard library "threading" module. autostart=False, # The worker thread now must be started manually. queue_max_size=64, # Max. # of pending writes that can accumulate you will need to call start() to bring up the worker threads that will do the actual write query execution. @app.before_first_request def _start_worker_threads(): db.start() If you plan on performing0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation Release 3.1.0safe queue. A single worker thread listens to the queue and executes all queries that are sent to it. Transactions Because all queries are serialized and executed by a single worker thread, it is possible use_gevent=False, # Use the standard library "threading" module. autostart=False, # The worker thread now must be started manually. queue_max_size=64, # Max. # of pending writes that can accumulate you will need to call start() to bring up the worker threads that will do the actual write query execution. @app.before_first_request def _start_worker_threads(): db.start() If you plan on performing0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation
Release 3.5.0thread-safe queue. A single worker thread listens to the queue and executes all queries that are sent to it. Transactions Because all queries are serialized and executed by a single worker thread, it is possible 'my_app.db', use_gevent=False, # Use the standard library "threading" module. autostart=False, # The worker thread now must be started manually. queue_max_size=64, # Max. # of pending writes that can accumulate you will need to call start() to bring up the worker threads that will do the actual write query execution. @app.before_first_request def _start_worker_threads(): db.start() If you plan on performing0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.3.0thread-safe queue. A single worker thread listens to the queue and executes all queries that are sent to it. Transactions Because all queries are serialized and executed by a single worker thread, it is possible 'my_app.db', use_gevent=False, # Use the standard library "threading" module. autostart=False, # The worker thread now must be started manually. queue_max_size=64, # Max. # of pending writes that can accumulate to bring up the worker threads that will do the actual write query execution. 204 Chapter 1. Contents: peewee Documentation, Release 3.3.0 @app.before_first_request def _start_worker_threads(): db.start()0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0thread-safe queue. A single worker thread listens to the queue and executes all queries that are sent to it. Transactions Because all queries are serialized and executed by a single worker thread, it is possible 'my_app.db', use_gevent=False, # Use the standard library "threading" module. autostart=False, # The worker thread now must be started manually. queue_max_size=64, # Max. # of pending writes that can accumulate up the worker threads that will do the actual write query execution. 1.16. Playhouse, extensions to Peewee 207 peewee Documentation, Release 3.4.0 @app.before_first_request def _start_worker_threads():0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation Release 3.6.0safe queue. A single worker thread listens to the queue and executes all queries that are sent to it. Transactions Because all queries are serialized and executed by a single worker thread, it is possible use_gevent=False, # Use the standard library "threading" module. autostart=False, # The worker thread now must be started manually. queue_max_size=64, # Max. # of pending writes that can accumulate you will need to call start() to bring up the worker threads that will do the actual write query execution. @app.before_first_request def _start_worker_threads(): db.start() If you plan on performing0 码力 | 377 页 | 399.12 KB | 1 年前3
共 11 条
- 1
- 2













