Skip to content

Commit

Permalink
Fix GCC type mismatch warning on 'proxy_info'
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierJF committed Apr 10, 2024
1 parent 0a38bd4 commit 9894621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1859,7 +1859,7 @@ void handleProcessRestart() {
// Calculate wait time using exponential backoff
int waitTime = 1 << restartAttempts;
parent_open_error_log();
proxy_info("ProxySQL exited after only %d seconds , below the %d seconds threshold. Restarting attempt %d\n", elapsed_seconds, EXECUTION_THRESHOLD, restartAttempts);
proxy_info("ProxySQL exited after only %ld seconds , below the %d seconds threshold. Restarting attempt %d\n", elapsed_seconds, EXECUTION_THRESHOLD, restartAttempts);
proxy_info("Angel process is waiting %d seconds before starting a new ProxySQL process\n", waitTime);
parent_close_error_log();

Expand Down

0 comments on commit 9894621

Please sign in to comment.