Improve locking

Description

  • Add lock to workflow worker

  • Allow multiple Integrated installations on one machine

Technical tasks

None

Deployment actions

None

Activity

Show:
Marijn Otte
March 22, 2018, 7:57 PM

I added this issue because two Integrated installations on the same server currently generate cron errors due to locking conflicts

Also the workflow worker can get into an infinite loop because it doesn't have a lock, fixed in this PR

Marijn Otte
March 22, 2018, 8:09 PM

21:08:03 WARNING [lock] Failed to acquire the "Symfony\Component\Lock\Key {-resource: "Integrated\Bundle\SolrBundle\Command\WorkerCommand"-expiringTime: null-state: []}" lock. Someone else already acquired the lock. ["resource" => Symfony\Component\Lock\Key { …}] []

API
March 28, 2018, 11:33 AM

.Notificatie oplevering gestuurd naar Integrated Marijn (marijn@e-active.nl)

Assignee

Unassigned

External issue ID

None

Client

Integrated Marijn

Min. hours

None

Dev hour estimate

None

Fix versions

Configure