mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Handle no recorded data
This commit is contained in:
parent
1d3a97fe91
commit
4daf95ba2d
2 changed files with 2 additions and 1 deletions
|
|
@ -383,7 +383,7 @@ function recording_utils.createConfig(ifid, params)
|
|||
elseif ifspeed > 1000 then -- 10G
|
||||
defaults.max_file_size = 1*1024
|
||||
elseif ifspeed <= 100 then
|
||||
defaults.max_file_size = 1*128
|
||||
defaults.max_file_size = 1*64
|
||||
end
|
||||
defaults.buffer_size = 4*defaults.max_file_size
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue