Changed AddressPoll unique ID to be system_id, setup for memcached for all micrsoservices
This commit is contained in:
@@ -73,11 +73,6 @@ class AddressPoll implements ShouldQueue, ShouldBeUnique
|
||||
];
|
||||
}
|
||||
|
||||
public function uniqueVia(): Repository
|
||||
{
|
||||
return Cache::driver('file');
|
||||
}
|
||||
|
||||
/**
|
||||
* When calling MessageProcess - we assume that the packet is from a valid source
|
||||
*/
|
||||
@@ -163,6 +158,6 @@ class AddressPoll implements ShouldQueue, ShouldBeUnique
|
||||
|
||||
public function uniqueId(): string
|
||||
{
|
||||
return $this->ao->id;
|
||||
return $this->ao->system_id;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user