Ticket #161 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

iep system doesn't connect and load queries until first event passes.

Reported by: jesus Assigned to: jesus
Priority: major Milestone: Intrigue
Component: stratcond Severity: critical
Keywords: Cc:


stratcond should connect immediately to the iep system. Right now it has to wait until a new event comes to trigger. This is an issue because on first connect we submit all the EPL queries to be run -- so until the first even arrives, there's no EPL in the system and that's not good.

Change History

08/04/09 03:17:45 changed by jesus

  • status changed from new to closed.
  • resolution set to fixed.

(In [800]) We change the init order to instantiate the queues and other plumbing before starting the IEP engine. During the successful spawning of the IEP system we submit a blank record to the IEP queue. The IEP queue now always requests a driver connection (even if the event is blank). This causes the connection to be established upon startup.

We actually postpone the connection attempt by a second and in the event that we don't get one we schedule a new attempt one second in the future.

closes #161