Changeset 250


Ignore:
Timestamp:
Dec 11, 2007, 2:01:56 AM (17 years ago)
Author:
quentin
Message:

Allow service maintainers to bump memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/validation.py

    r236 r250  
    4040    if not on:
    4141        return MAX_MEMORY_SINGLE
     42    if machine.memory > MAX_MEMORY_SINGLE:
     43        # If they've been blessed, let them have it
     44        return machine.memory
    4245    machines = getMachinesByOwner(user, machine)
    4346    active_machines = [x for x in machines if g.uptimes[x]]
Note: See TracChangeset for help on using the changeset viewer.