mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 01:03:28 +09:00
Fix #2205 change FCM chunk size to 500
This commit is contained in:
parent
0d58c9038d
commit
c4e1625afa
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ class FCM extends Base implements PushInterface
|
||||||
$notification['sound'] = isset($notification['sound']) ? $notification['sound'] : 'default';
|
$notification['sound'] = isset($notification['sound']) ? $notification['sound'] : 'default';
|
||||||
}
|
}
|
||||||
|
|
||||||
$chunked_token = array_chunk($tokens, 1000);
|
$chunked_token = array_chunk($tokens, 500);
|
||||||
foreach($chunked_token as $token_unit)
|
foreach($chunked_token as $token_unit)
|
||||||
{
|
{
|
||||||
$data = [
|
$data = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue