Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
fcd6e476
Commit
fcd6e476
authored
Jan 06, 2010
by
Leigh B. Stoller
Browse files
Set the default slice expiration to 6 hours (was 1 hour).
parent
b11f7ab4
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniRegistry.pm.in
View file @
fcd6e476
#
!/usr/bin/perl -wT
#
#
GENIPUBLIC
-
COPYRIGHT
#
Copyright
(
c
)
2008
-
200
9
University
of
Utah
and
the
Flux
Group
.
#
Copyright
(
c
)
2008
-
20
1
0
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"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment