Skip to content

Commit

Permalink
Increase infinite yield warning threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
hoontee committed Mar 27, 2024
1 parent 7182435 commit b9f0eb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Pronghorn/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
║ ██████▀██▓▌▀▌ ▄ ▄▓▌▐▓█▌ ║
║ ║
║ ║
║ Pronghorn Framework Rev. B57
║ Pronghorn Framework Rev. B58
║ https://github.com/Iron-Stag-Games/Pronghorn ║
║ GNU Lesser General Public License v2.1 ║
║ ║
Expand Down Expand Up @@ -114,6 +114,7 @@ function Pronghorn:SetEnabledChannels(newEnabledChannels: {[string]: boolean})
end

--- @todo
--- @yields
function Pronghorn:Import(paths: {Instance})
if imported then
error("Pronghorn:Import() cannot be called more than once", 0)
Expand Down Expand Up @@ -142,7 +143,7 @@ function Pronghorn:Import(paths: {Instance})
startWaits += 1
task.spawn(function()
local running = true
task.delay(5, function()
task.delay(15, function()
if running then
warn(`{moduleTable.Object:GetFullName()}: Infinite yield possible in Deferred function`)
end
Expand Down

0 comments on commit b9f0eb3

Please sign in to comment.