[Commits] [wesnoth/wesnoth] 62eb55: new_release: Workaround race condition in wesnothd...

GitHub noreply at github.com
Thu Jun 12 22:19:08 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 62eb55a5a712b3e2157cf7fc0bb12873c4f0a574
      https://github.com/wesnoth/wesnoth/commit/62eb55a5a712b3e2157cf7fc0bb12873c4f0a574
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-06-12 (Thu, 12 Jun 2014)

  Changed paths:
    M utils/mp-server/new_release

  Log Message:
  -----------
  new_release: Workaround race condition in wesnothd SIGHUP handler

If we try to send a message immediately after signaling SIGHUP to
wesnothd, it won't get caught by wesnothd, probably because the control
socket is being reopened just as the message arrives. Thus, we need a 1
second delay after the signal.

This was fixed in production a while ago but I forgot to commit the
change.





More information about the Commits mailing list