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