diff options
author | Boris Pavlovic <boris@pavlovic.me> | 2013-01-06 14:39:13 +0400 |
---|---|---|
committer | Boris Pavlovic <boris@pavlovic.me> | 2013-01-07 18:23:10 +0400 |
commit | 1126d0cd6178f13d5593b400b6b7fed9ff2f0f87 (patch) | |
tree | 37fc14f5f0aa57f090fc18992214041692ed32f0 /nova/service.py | |
parent | a2f260fff8810976f31b0d01586e3f691c25abb8 (diff) | |
download | nova-1126d0cd6178f13d5593b400b6b7fed9ff2f0f87.tar.gz nova-1126d0cd6178f13d5593b400b6b7fed9ff2f0f87.tar.xz nova-1126d0cd6178f13d5593b400b6b7fed9ff2f0f87.zip |
Refactor work with TaskLog in sqlalchemy.api
Add _task_log_get_query() private method
It is used to remove from task_log_get() and task_log_get_all() session.
parametr and save performance.
task_log_get() method
Remove session parameter from public method.
task_log_get_all() method
Remove session parameter from public method.
task_log_begin_task()
Remove session parameter from public method.
Remove unused return value.
task_log_end_task()
Remove session parameter from public method.
Use 1 db request instead of 2.
Remove unused return value.
blueprint db-session-cleanup
Change-Id: I2c8252de7978e8fddd800e903f18a73ee9a95034
Diffstat (limited to 'nova/service.py')
0 files changed, 0 insertions, 0 deletions