{"comment":{"url":"https://api.github.com/repos/EUDAT-B2STAGE/http-api-base/comments/18375182","html_url":"https://github.com/EUDAT-B2STAGE/http-api-base/commit/977332b33418298081e1d86964ad7a0d27436abf#commitcomment-18375182","id":18375182,"user":{"login":"mdantonio","id":12394806,"avatar_url":"https://avatars.githubusercontent.com/u/12394806?v=3","gravatar_id":"","url":"https://api.github.com/users/mdantonio","html_url":"https://github.com/mdantonio","followers_url":"https://api.github.com/users/mdantonio/followers","following_url":"https://api.github.com/users/mdantonio/following{/other_user}","gists_url":"https://api.github.com/users/mdantonio/gists{/gist_id}","starred_url":"https://api.github.com/users/mdantonio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdantonio/subscriptions","organizations_url":"https://api.github.com/users/mdantonio/orgs","repos_url":"https://api.github.com/users/mdantonio/repos","events_url":"https://api.github.com/users/mdantonio/events{/privacy}","received_events_url":"https://api.github.com/users/mdantonio/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"977332b33418298081e1d86964ad7a0d27436abf","created_at":"2016-07-25T08:21:45Z","updated_at":"2016-07-25T08:21:45Z","body":"> Connection and models loading is done once at the server init time.\r\n\r\nThat's very good. I hope that the single global connection will not hurt the mechanism of graph transactions (it should not, but we have to test it)\r\n\r\nBefore:\r\n\r\n```\r\nopen_connection\r\n\r\n    start transaction\r\n        graph operations\r\n    commit transaction\r\n\r\nclose_connection\r\n\r\n\r\nopen_connection\r\n\r\n    start transaction\r\n        graph operations\r\n    rollback transaction\r\n\r\nclose_connection\r\n```\r\n\r\nNow:\r\n\r\n\r\n```\r\nopen_connection\r\n\r\n    start transaction\r\n        graph operations\r\n    commit transaction\r\n\r\n    start transaction\r\n        graph operations\r\n    rollback transaction\r\n\r\nclose_connection\r\n```"}}
{"actor":{"display_login":"mdantonio"}}