added some keys into setting
This commit is contained in:
@@ -86,7 +86,12 @@ class LivePriceTickService
|
||||
app(LivePriceCacheService::class)->markTick();
|
||||
|
||||
// last از put داخل lastPrice؛ list بعد از sync محصولات
|
||||
app(PriceBroadcastService::class)->broadcastListIfChanged();
|
||||
$listChanged = app(PriceBroadcastService::class)->broadcastListIfChanged();
|
||||
|
||||
// بعد از هر تغییر قیمت، قیمتها را به کانالهای پیامرسان بفرست (با cooldown داخلی)
|
||||
if ($listChanged) {
|
||||
app(PriceChannelBroadcastService::class)->broadcastIfEligible();
|
||||
}
|
||||
} finally {
|
||||
$lock->release();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user