[ARVADOS] updated: 95d12ecbdf8b236643f2c246a1a28e112fd15c0f

git at public.curoverse.com git at public.curoverse.com
Tue Dec 2 16:17:52 EST 2014


Summary of changes:
 services/api/lib/eventbus.rb | 4 ++++
 1 file changed, 4 insertions(+)

       via  95d12ecbdf8b236643f2c246a1a28e112fd15c0f (commit)
      from  d7f8e442bb91243484c75e2e1278293f0a476068 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 95d12ecbdf8b236643f2c246a1a28e112fd15c0f
Author: Brett Smith <brett at curoverse.com>
Date:   Tue Dec 2 16:17:45 2014 -0500

    4591: Fixup from code review.

diff --git a/services/api/lib/eventbus.rb b/services/api/lib/eventbus.rb
index d1809e5..35671d6 100644
--- a/services/api/lib/eventbus.rb
+++ b/services/api/lib/eventbus.rb
@@ -1,3 +1,7 @@
+# If any threads raise an unhandled exception, make them all die.
+# We trust a supervisor like runit to restart the server in this case.
+Thread.abort_on_exception = true
+
 require 'eventmachine'
 require 'oj'
 require 'faye/websocket'

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list