Compare commits
No commits in common. "master" and "eef11245eb46f2527da5f20e162b75dcb669036a" have entirely different histories.
master
...
eef11245eb
@ -4,7 +4,7 @@ const Dragonfly = global.Dragonfly;
|
||||
const cl = global.botanLoader;
|
||||
const fs = require( "fs" );
|
||||
|
||||
const conf = cl.load( "config.all" ).sx.mvc;
|
||||
const conf = cl.load( "config.sx.mvc" );
|
||||
|
||||
class Chain
|
||||
{
|
||||
@ -65,7 +65,7 @@ class Chain
|
||||
// MultiChain
|
||||
Multi( name, handler, l, timeout, trigger )
|
||||
{
|
||||
if( l == 0 || l === undefined )
|
||||
if( l == 0 )
|
||||
{
|
||||
Dragonfly.Info( "MultiChain " + name + ": length is zero, directly running handler" );
|
||||
handler.apply( undefined, [] );
|
||||
@ -74,8 +74,8 @@ class Chain
|
||||
|
||||
var _self = this;
|
||||
|
||||
// Limit the timeout of callbacks to 3 secs
|
||||
if( timeout == undefined ) timeout = 3000;
|
||||
// Limit the timeout of callbacks to 30 secs
|
||||
if( timeout == undefined ) timeout = 30000;
|
||||
|
||||
return (function()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user