Using worker id as lock
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
const zlib = require( "zlib" );
|
||||
const os = require( "os" )
|
||||
const fs = require( "fs" );
|
||||
|
||||
const cl = global.botanLoader;
|
||||
const Dragonfly = global.Dragonfly;
|
||||
@@ -204,8 +205,6 @@ class WebFrame
|
||||
|
||||
resp.headers[ "Content-Disposition" ] = "attachment; filename=\"" + name + "\"";
|
||||
|
||||
var fs = require( "fs" );
|
||||
|
||||
Dragonfly.Debug( "Stream out: " + path );
|
||||
|
||||
var rs = fs.createReadStream( path );
|
||||
|
Reference in New Issue
Block a user