Using worker id as lock

This commit is contained in:
2022-04-04 22:28:39 +09:00
parent 9c0b3474e9
commit 4207a5b90e
2 changed files with 4 additions and 5 deletions

View File

@@ -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 );