Skip to content

Commit

Permalink
Start with smaller pcap file size
Browse files Browse the repository at this point in the history
Fixes #18.
Improves performance a bit (#16)
  • Loading branch information
pudelkoM committed Jul 22, 2017
1 parent 88bd263 commit 1d61eaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flowscope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ end

function continuousDumper(args, qq, id, path, filterPipe)
log:setLevel(args.logLevel)
pcap:setInitialFilesize(2^21) -- 2 MiB
local ruleSet = {} -- Used to maintain the rules
local ruleList = {} -- Build from the ruleSet for performance
local maxRules = args.maxRules
Expand Down

0 comments on commit 1d61eaa

Please sign in to comment.