1. 16 Feb, 2018 2 commits
    • Pierre de La Morinerie's avatar
      Send systemd READY notification (#8296) · b112747d
      Pierre de La Morinerie authored
      Currently, when starting Mattermost programmatically, it's hard to tell
      when the server is actually ready to receive network connections.
      
      This isn't convenient for monitoring (the systemd service status is
      "running" although the server is still booting), nor for programatic use
      (where a script would need to know when the server is ready to perform
      further actions).
      
      To improve this, systemd allow processes to tell when they started
      successfully. The launcher waits for this notification before
      reporting the service as successfully launched.
      
      The way processes notify systemd is by sending a `READY=1` string over
      a standard unix socket, whose path is provided in an environment var.
      
      The systemd service is then told to expect this notification:
      
      ```diff
       [Service]
      -Type=simple
      +Type=notify
       ExecStart=/home/vagrant/go/bin/platform
      ```
      
      Now, when starting the server, systemd will actually wait for the server to
      be ready before returning the control to the shell.
      
      Additionally, during this time, querying the server status with
      `service mattermost status` will report the service as "activating" – before
      transitioning to "running" when the server is ready.
      b112747d
    • Jesús Espino's avatar
      PLT-8723: Fix DeadLock on reactions insertions (#8225) · 2930766c
      Jesús Espino authored
      * PLT-8723: Fix DeadLock on reactions insertions
      
      * Improved the HasReactions update SQL
      2930766c
  2. 15 Feb, 2018 2 commits
  3. 14 Feb, 2018 4 commits
  4. 13 Feb, 2018 4 commits
  5. 12 Feb, 2018 12 commits
  6. 10 Feb, 2018 1 commit
  7. 09 Feb, 2018 8 commits
  8. 08 Feb, 2018 5 commits
  9. 07 Feb, 2018 2 commits