Skip to content

Commit e84451e

Browse files
author
Илья
committed
Set max_message_size 1024
1 parent 56472a8 commit e84451e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

slo-workload/src/Commands/RunCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,8 @@ protected function metricsJob(int $reportPeriod, float $startTime, int $time, st
267267
'sdkVersion' => Ydb::VERSION
268268
]);
269269

270-
271270
while (microtime(true) <= $startTime + $time) {
272-
msg_receive($msgQueue, Utils::MSG_TYPE, $msgType, PHP_INT_MAX, $message);
271+
msg_receive($msgQueue, Utils::MSG_TYPE, $msgType, 1024, $message);
273272
$queryLatencies->observe($this->getLatency($message["sent"]));
274273
switch ($message['type']) {
275274
case 'reset':

0 commit comments

Comments
 (0)