Sometimes, a service is executed twice - in the logs, "DatafileObserver::updated()" appears, which means that DatafileObserver::updated has been triggered, which than triggers dispatchService().
This happens in Service::handle(), section finally{}. The only suspicious commands are:
- $this->datafile->save();
- DatafileProcessed::dispatch($this->datafile->id);
I don't understand how DatafileObserver is linked with these commands.
This bug is especially relevant for the Selfone Widget, which takes around 500 seconds and when processed twice unnecessarily longer.
Sometimes, a service is executed twice - in the logs, "DatafileObserver::updated()" appears, which means that DatafileObserver::updated has been triggered, which than triggers dispatchService().
This happens in Service::handle(), section finally{}. The only suspicious commands are:
I don't understand how DatafileObserver is linked with these commands.
This bug is especially relevant for the Selfone Widget, which takes around 500 seconds and when processed twice unnecessarily longer.