)]}'
{"mistral/tests/unit/workbook/test_spec_caching.py":[{"author":{"_account_id":19206,"name":"Dawid Deja","email":"dawdej@gmail.com","username":"ddeja"},"change_message_id":"376a960b2552f0229793008ee32794652c7d06df","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2015 - StackStorm, Inc."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":4,"context_line":"#    you may not use this file except in compliance with the License."}],"source_content_type":"text/x-python","patch_set":6,"id":"bacf61ea_168859c4","line":1,"range":{"start_line":1,"start_character":0,"end_line":1,"end_character":35},"updated":"2016-08-01 15:46:00.000000000","message":"Soft: Wrong copyright?","commit_id":"7ec5604c900ef6bb8c38bb9e24bb39aa4bb89284"}],"mistral/workbook/parser.py":[{"author":{"_account_id":3098,"name":"Jeff Peeler","email":"jpeeler@redhat.com","username":"jpeeler-z"},"change_message_id":"7b621e22c2a0c66438c175216877bf36e13ab2b9","unresolved":false,"context_lines":[{"line_number":186,"context_line":"# Methods for obtaining specifications in a more efficient way using"},{"line_number":187,"context_line":"# caching techniques."},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"@cached(_WF_CACHE, lock\u003dRLock())"},{"line_number":190,"context_line":"def get_workflow_spec_by_id(wf_def_id):"},{"line_number":191,"context_line":"    if not wf_def_id:"},{"line_number":192,"context_line":"        return None"}],"source_content_type":"text/x-python","patch_set":5,"id":"bacf61ea_5c8c2b7f","line":189,"updated":"2016-07-28 21:23:48.000000000","message":"Is locking like this ok to do with eventlet?","commit_id":"b3c46282f9a3e3cab8ff774f13f12eb5b17901f0"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"71a2da15a054d3d734edf84d924cb5eb47d938e8","unresolved":false,"context_lines":[{"line_number":186,"context_line":"# Methods for obtaining specifications in a more efficient way using"},{"line_number":187,"context_line":"# caching techniques."},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"@cached(_WF_CACHE, lock\u003dRLock())"},{"line_number":190,"context_line":"def get_workflow_spec_by_id(wf_def_id):"},{"line_number":191,"context_line":"    if not wf_def_id:"},{"line_number":192,"context_line":"        return None"}],"source_content_type":"text/x-python","patch_set":5,"id":"bacf61ea_cf012308","line":189,"in_reply_to":"bacf61ea_5c8c2b7f","updated":"2016-08-01 06:59:41.000000000","message":"Yes, the entire threading packages is monkey patched.","commit_id":"b3c46282f9a3e3cab8ff774f13f12eb5b17901f0"},{"author":{"_account_id":3098,"name":"Jeff Peeler","email":"jpeeler@redhat.com","username":"jpeeler-z"},"change_message_id":"7b621e22c2a0c66438c175216877bf36e13ab2b9","unresolved":false,"context_lines":[{"line_number":197,"context_line":""},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"def get_workflow_spec_cache_size():"},{"line_number":200,"context_line":"    return len(_WF_CACHE)"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"def clear_caches():"}],"source_content_type":"text/x-python","patch_set":5,"id":"bacf61ea_d77114aa","line":200,"updated":"2016-07-28 21:23:48.000000000","message":"Is this equivalent to _WF_CACHE.currsize?","commit_id":"b3c46282f9a3e3cab8ff774f13f12eb5b17901f0"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"71a2da15a054d3d734edf84d924cb5eb47d938e8","unresolved":false,"context_lines":[{"line_number":197,"context_line":""},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"def get_workflow_spec_cache_size():"},{"line_number":200,"context_line":"    return len(_WF_CACHE)"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"def clear_caches():"}],"source_content_type":"text/x-python","patch_set":5,"id":"bacf61ea_da471fba","line":200,"in_reply_to":"bacf61ea_d77114aa","updated":"2016-08-01 06:59:41.000000000","message":"No, currsize is a size determined by a function getsizeof() that gets passed to cache initializer. So, if it maybe size in bytes or kilobytes, for example. Depending on how I implement getsizeof() that calculates size for individual item.","commit_id":"b3c46282f9a3e3cab8ff774f13f12eb5b17901f0"}]}
