)]}'
{"gnocchi/cli.py":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"a91b46481dfd5d9304efac476d54b2daf00581b5","unresolved":false,"context_lines":[{"line_number":23,"context_line":"def storage_dbsync():"},{"line_number":24,"context_line":"    service.prepare_service()"},{"line_number":25,"context_line":"    indexer \u003d sql_db.SQLAlchemyIndexer(cfg.CONF)"},{"line_number":26,"context_line":"    indexer.connect()"},{"line_number":27,"context_line":"    indexer.upgrade()"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa98f980_d5e2b19e","line":26,"updated":"2014-09-16 08:40:21.000000000","message":"Or change upgrade() to do a connect() first?","commit_id":"e490faf095d2a8e054e1f1763a58f1ac36b5ce52"},{"author":{"_account_id":2813,"name":"Mehdi Abaakouk","email":"sileht@sileht.net","username":"sileht"},"change_message_id":"78e85975261074a40303b3eda0b5ecdb6c7fcecd","unresolved":false,"context_lines":[{"line_number":23,"context_line":"def storage_dbsync():"},{"line_number":24,"context_line":"    service.prepare_service()"},{"line_number":25,"context_line":"    indexer \u003d sql_db.SQLAlchemyIndexer(cfg.CONF)"},{"line_number":26,"context_line":"    indexer.connect()"},{"line_number":27,"context_line":"    indexer.upgrade()"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa98f980_6e4908b7","line":26,"in_reply_to":"fa98f980_d5e2b19e","updated":"2014-09-17 15:17:11.000000000","message":"If I do that I need to rewrite how work connect/disconnect and the unit setup to be consistent.  Because each time you call connect the previous connection is close.\n\nThis change is more simple and keep the code in the sqlalchemy driver shorter :p","commit_id":"e490faf095d2a8e054e1f1763a58f1ac36b5ce52"}]}
