Changeset 5d546a in indico


Ignore:
Timestamp:
03/14/11 09:30:19 (2 years ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 4287315ec967a3da168d83963c14001db8487d53
Children:
21bda7
Parents:
f5600f
git-author:
Pedro Ferreira <jose.pedro.ferreira@…> (03/14/11 09:29:12)
git-committer:
Pedro Ferreira <jose.pedro.ferreira@…> (03/14/11 09:30:19)
Message:

[FIX] Order of DB connection

  • Also JS problem in livesync;
  • Default number of retries;
Location:
indico
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • indico/ext/livesync/htdocs/js/livesync.js

    r6e631c r5d546a  
    104104 
    105105             button.observeClick(function() { 
    106                  console.log(Json.write(self.info)); 
    107106                 self._submit(self.info, parameterManager, pmExtra, self.fullyEditable); 
    108107             }); 
  • indico/modules/scheduler/server.py

    r597fec r5d546a  
    7171 
    7272        # Number of times to try to run a task before aborting (min 1) 
    73         'task_max_tries': 2 
     73        'task_max_tries': 5 
    7474        } 
    7575 
  • indico/modules/scheduler/slave.py

    r4ec29c r5d546a  
    6666        i = 0 
    6767 
     68        self._dbi.startRequest() 
    6869        # RoomBooking forces us to connect to its own DB if needed 
    6970        # Maybe we should add some extension point here that lets plugins 
     
    7273        rbEnabled = info.getRoomBookingModuleActive() 
    7374 
    74         self._dbi.startRequest() 
    7575        if rbEnabled: 
    7676            DALManager.connect() 
Note: See TracChangeset for help on using the changeset viewer.