Changeset 6f82229


Ignore:
Timestamp:
Mar 2, 2010 11:05:58 AM (15 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
37f6592
Parents:
37776ea
Message:

configurable duration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/dragon_access.py

    r37776ea r6f82229  
    6868        self.idc_url = config.get("access", "idc")
    6969        self.domain = config.get("access", "domain")
     70        self.duration = config.getint("access", "duration", 120)
    7071
    7172        self.attrs = { }
     
    584585            start = time.time()
    585586        if not end:
    586             end = start + 120 *60
     587            end = start + self.duration *60
    587588
    588589
Note: See TracChangeset for help on using the changeset viewer.