Exception: Subserver::Shutdown

Inherits:
Interrupt
  • Object
show all
Defined in:
lib/subserver.rb

Overview

We are shutting down Subserver but what about workers that are working on some long job? This error is raised in workers that have not finished within the hard timeout limit. This is needed to rollback db transactions, otherwise Ruby’s Thread#kill will commit. DO NOT RESCUE THIS ERROR IN YOUR SUBSCRIBERS