Changed AddressPoll unique ID to be system_id, setup for memcached for all micrsoservices
This commit is contained in:
parent
27a3e3e24e
commit
9cf0f1e2f4
@ -20,6 +20,7 @@ DB_PASSWORD=
|
||||
#DB_SSLKEY=/var/www/html/config/ssl/client.key
|
||||
|
||||
BROADCAST_DRIVER=log
|
||||
MEMCACHED_HOST=memcached
|
||||
CACHE_DRIVER=memcached
|
||||
QUEUE_CONNECTION=database
|
||||
SESSION_DRIVER=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;
|
||||
}
|
||||
}
|
@ -13,7 +13,7 @@ class MailSend #implements ShouldQueue
|
||||
{
|
||||
use Dispatchable;
|
||||
|
||||
private const LOGKEY = 'JCM';
|
||||
private const LOGKEY = 'JMS';
|
||||
|
||||
/**
|
||||
* @param bool $crash Send crash mail only
|
||||
|
Loading…
Reference in New Issue
Block a user