Skip to content

Commit b42218d

Browse files
committed
Remove sprintf from plain string without args.
1 parent e038a95 commit b42218d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Service/CheckConfigService.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public function checkMysqlSettings(): ConfigCheckItem
227227
$desc = sprintf(" - `max_connections` is set to `%s`.\n", $vars['max_connections']);
228228
if ($vars['max_connections'] < 300) {
229229
$result = 'W';
230-
$desc .= sprintf("In our experience you need at least `300`, but better `1000` connections to prevent connection refusal during the contest.\n");
230+
$desc .= "In our experience you need at least `300`, but better `1000` connections to prevent connection refusal during the contest.\n";
231231
}
232232

233233
if ($vars['innodb_log_file_size'] < 10 * $max_inout) {

0 commit comments

Comments
 (0)