[*] mq правки кода и дббавление поиска дубликата заданий в очереди

This commit is contained in:
rsgrinko committed 2022-07-03 01:37:05 +03:00
1 parent d739165d48
commit c4a15eb369
1 file changed
+2 -2
+2 -2
View File
@@ -81,10 +81,10 @@
* @return int
* @throws \Core\CoreException
*/
public static function test2(): int
public static function test2(): string
{
sleep(5);
return Log::logToFile('Тестирование2', 'MQ_test.log', func_get_args());
return 'Logged ' . Log::logToFile('Тестирование2', 'MQ_test.log', func_get_args()) . ' bytes';
}
/**