Browse Source

php - add a partial timestamp to the outgoing id

master
kanoi 11 years ago
parent
commit
4e5e17343d
  1. 3
      pool/db.php

3
pool/db.php

@ -50,7 +50,8 @@ function msgEncode($cmd, $id, $fields)
{
global $send_sep, $fld_sep, $val_sep;
$msg = $cmd . $send_sep . $id;
$t = time() % 10000;
$msg = $cmd . $send_sep . $id.$t;
$first = true;
foreach ($fields as $name => $value)
{

Loading…
Cancel
Save