Commit fcd6e476 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Set the default slice expiration to 6 hours (was 1 hour).

parent b11f7ab4
#!/usr/bin/perl -wT
#
# GENIPUBLIC-COPYRIGHT
# Copyright (c) 2008-2009 University of Utah and the Flux Group.
# Copyright (c) 2008-2010 University of Utah and the Flux Group.
# All rights reserved.
#
package GeniRegistry;
......@@ -145,7 +145,7 @@ sub Create($$$$;$)
# Now tack on other stuff we need.
push(@insert_data, "created=now()");
push(@insert_data, "expires=DATE_ADD(now(), INTERVAL 1 HOUR)");
push(@insert_data, "expires=DATE_ADD(now(), INTERVAL 6 HOUR)");
push(@insert_data, "idx='$idx'");
push(@insert_data, "sa_uuid='$sa_uuid'");
push(@insert_data, "exptidx=$exptidx")
......
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