Skip to content

Commit

Permalink
Reduce timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
evsamsonov committed Oct 13, 2022
1 parent e07a5eb commit 0e89a9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quik_quotes_exporter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ function QuikQuotesExporter:new(params)
Запуск
--]]
function this:run()
local minute = 60 * 1000
local timeout = 5 * 1000
local status, err = pcall(function()
init()

Expand All @@ -331,7 +331,7 @@ function QuikQuotesExporter:new(params)
processInstruments()
end

sleep(minute/4)
sleep(timeout)
end
end)
if status == false then
Expand Down

0 comments on commit 0e89a9f

Please sign in to comment.