Open jiangrzh opened 9 years ago
fix: 1) connection socket opt set to struct.pack('I', 1) for some 64bit OS 2) catch exception when current_request = self.handle_to_request_map[job_handle] throw KeyError
How can self.handle_to_request_map throw a KeyError for some job handles? It doesn't seem right to catch the KeyError and ignore them.
self.handle_to_request_map
KeyError
Ah: https://github.com/paiweilai1984/python-gearman/commit/eba998b2706aacd4f11ce09b7c12175803dd3a9a
fix: 1) connection socket opt set to struct.pack('I', 1) for some 64bit OS 2) catch exception when current_request = self.handle_to_request_map[job_handle] throw KeyError