closes #2205. This is actually part of the bigger datastore bug
git-svn-id: file:///home/svn/framework3/trunk@9722 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
1e0e92e5aa
commit
c0aca105de
|
@ -27,7 +27,7 @@ end
|
||||||
# The command handler when launched from the console
|
# The command handler when launched from the console
|
||||||
#
|
#
|
||||||
def run
|
def run
|
||||||
secs = datastore['RUNTIME']
|
secs = datastore['RUNTIME'].to_i
|
||||||
print_status("Running module for #{secs} seconds...")
|
print_status("Running module for #{secs} seconds...")
|
||||||
begin
|
begin
|
||||||
Timeout.timeout(secs) { self.run_timed }
|
Timeout.timeout(secs) { self.run_timed }
|
||||||
|
|
Loading…
Reference in New Issue