Commit 9c1d5b68 authored by Leigh B Stoller's avatar Leigh B Stoller

Bump timeout to 5 minutes.

parent b25f2b69
......@@ -44,7 +44,7 @@ if (isset($key)) {
DBQueryFatal("select node_id,urlstamp from tiplines ".
"where node_id='$node_id' and urlhash='$safe_key' and ".
" urlstamp!=0 and ".
" (UNIX_TIMESTAMP(now()) - urlstamp) < 30");
" (UNIX_TIMESTAMP(now()) - urlstamp) < 300");
if (mysql_num_rows($query_result) == 0) {
USERERROR("Invalid node, invalid key or key has expired", 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment