Skip to content

Commit

Permalink
More entropy for temp table.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Sep 19, 2024
1 parent de736ee commit 04e0153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/boost.php
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ function boost_process_poller_output($local_data_id, $rrdtool_pipe = null) {
$temp_table = false;

if (cacti_count($archive_tables)) {
$temp_table = "poller_output_boost_temp_$local_data_id_" . microtime(true);
$temp_table = "poller_output_boost_temp_$local_data_id_" . mt_rand() . '_' . microtime(true);

db_execute("CREATE TEMPORARY TABLE $temp_table LIKE poller_output_boost");

Expand Down

0 comments on commit 04e0153

Please sign in to comment.