Skip to content

Commit

Permalink
Fix race condition in rpyc_classic.py (oneshot)
Browse files Browse the repository at this point in the history
  • Loading branch information
coldfix committed Sep 6, 2018
1 parent 0b5daf4 commit 8e220af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/rpyc_classic.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def _serve_oneshot(self):
t = OneShotServer(SlaveService, hostname = self.host, port = self.port,
reuse_addr = True, ipv6 = self.ipv6, authenticator = self.authenticator,
registrar = self.registrar, auto_register = self.auto_register)
t._listen()
sys.stdout.write("rpyc-oneshot\n")
sys.stdout.write("%s\t%s\n" % (t.host, t.port))
sys.stdout.flush()
Expand Down

0 comments on commit 8e220af

Please sign in to comment.