add queue delay config

This commit is contained in:
ghost 2023-12-21 10:28:50 +02:00
parent 39c6b08ee6
commit d4fe4e4ae3
2 changed files with 9 additions and 2 deletions

View File

@ -20,7 +20,8 @@
"target":"user1",
"queue":
{
"limit":5
"limit":5,
"delay":5
},
"keywords":
[
@ -33,7 +34,8 @@
"target":"user2",
"queue":
{
"limit":5
"limit":5,
"delay":5
},
"keywords":
[

View File

@ -219,5 +219,10 @@ foreach ($config->feed as $feed)
$queue->id
)
);
// Apply delay
delay(
$feed->queue->delay
);
}
}