Changed AddressPoll unique ID to be system_id, setup for memcached for all micrsoservices

This commit is contained in:
2023-11-27 16:00:02 +11:00
parent 27a3e3e24e
commit 9cf0f1e2f4
3 changed files with 3 additions and 7 deletions

View File

@@ -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;
}
}