poolclass=SingletonThreadPool,
#echo = opts.verbose,
#echo_pool = opts.verbose,
- echo=True, # TODO
- echo_pool=True # TODO
+ echo=True,
+ echo_pool=True
)
else:
__db = Database(karesansui.sheconf['database.url'],
max_overflow=int(karesansui.sheconf['database.pool.max.overflow']),
#echo = opts.verbose,
#echo_pool = opts.verbose,
- echo=True, # TODO
- echo_pool=True # TODO
+ echo=True,
+ echo_pool=True
)
__engine = __db.get_engine()
_job = Job('%s command' % cmdname, 0, action_cmd)
_jobgroup.jobs.append(_job)
- #TODO: machine_id = 1 is version 1 only
host = findbyhost1(self.orm, 1);
_machine2jobgroup = m2j_new(machine=host,