def renew_tracker_pending_expiry(tracker):
    pending_expires_at = (now() + datetime.timedelta(seconds=PENDING_EXPIRES_IN))
    session = current_app.db.session('relengapi')
    log.info('renewing tracker {} with pending expiry: {}'.format(tracker.id, pending_expires_at))
    tracker.pending_expires_at = pending_expires_at
    session.commit()
def renew_tracker_pending_expiry(tracker):
    pending_expires_at = (now() + datetime.timedelta(seconds=PENDING_EXPIRES_IN))
    session = current_app.db.session('relengapi')
    log.info('renewing tracker {} with pending expiry: {}'.format(tracker.id, pending_expires_at))
    tracker.pending_expires_at = pending_expires_at
    session.commit()