Skip to content
Snippets Groups Projects
Commit feaa997b authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #8798: default startonwith=True handler_args={}

parent 2193a1de
No related branches found
No related tags found
No related merge requests found
......@@ -117,8 +117,8 @@ class Service(object):
self.options = {"capacity": self._numthreads*20}
options = kwargs.pop("options", None)
self.parsefullmessage = kwargs.pop("parsefullmessage", False)
self.startonwith = kwargs.pop("startonwith", None)
self.handler_args = kwargs.pop("handler_args", None)
self.startonwith = kwargs.pop("startonwith", True)
self.handler_args = kwargs.pop("handler_args", {})
self.listening = False
if len(kwargs):
raise AttributeError("Unexpected argument passed to Service class: %s", kwargs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment