952 days continuous production uptime, 40k+ tp/s single node. Original corpo Bitbucket history not included — clean archive commit.
18 lines
714 B
PHP
18 lines
714 B
PHP
<?php
|
|
require_once(dirname(__DIR__) . '/config/sneakerstrap.inc');
|
|
$errors = [];
|
|
$tokenGUID = 'D8637D12-B514-2916-D01C-05E416755451';
|
|
$request = [ STRING_GUID_KEY => $tokenGUID, STRING_TOK_TYPE => STRING_TOK_TYPE_SES];
|
|
$meta = [ META_TEMPLATE => TEMPLATE_CLASS_SESSIONS, META_CLIENT => CLIENT_SYSTEM];
|
|
/** @var gacMongoDB $obj */
|
|
$obj = grabWidget($meta, $tokenGUID,$errors);
|
|
if (is_null($obj)) {
|
|
var_export($errors);
|
|
echo PHP_EOL;
|
|
exit('failed to create widget' . $eos);
|
|
}
|
|
/** @var gatSessions $template */
|
|
$template = $obj->template;
|
|
$payload = $template->buildExpireSessionPayload($request, $errors);
|
|
$obj->_updateRecord($payload);
|
|
echo 'Program ' .((!$obj->status) ? 'failed' : 'succeeded') . $eos; |