Skip to content

Commit

Permalink
Merge pull request #111 from ariesdevil/dev1
Browse files Browse the repository at this point in the history
add start method to executor driver
  • Loading branch information
ZHAO Yijun authored Aug 15, 2018
2 parents 2ab927b + 907a3b1 commit c1c95a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pymesos/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ def gen_request(self):
)
return request.encode('utf-8')

def start(self):
super(MesosExecutorDriver, self).start()
self._notify()

def on_close(self):
if self._conn is not None:
self._conn.close()
Expand Down

0 comments on commit c1c95a1

Please sign in to comment.