Commit 7ea30876 authored by Mac Newbold's avatar Mac Newbold

If it has been active since the last swap request was sent, clear the swap

request counter.
parent 66360b10
......@@ -503,6 +503,12 @@ if ($thumb && !$idle) {
$swappable= $row["swappable"];
if ($lastswapreq > $idletime) {
# My last request was from _before_ it was idle this time
mysql_query("update experiments set swap_requests='' ".
"where pid='$pid' and eid='$eid'");
$lastlogin = "<td>";
if ($lastexpnodelogins = TBExpUidLastLogins($pid, $eid)) {
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