mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
util.gc: Fix check for Lua 5.4
This commit is contained in:
parent
409c611a37
commit
21dfac68ed
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ local known_options = {
|
|||
generational = set.new { "mode", "minor_threshold", "major_threshold" };
|
||||
};
|
||||
|
||||
if _VERSION ~= "5.4" then
|
||||
if _VERSION ~= "Lua 5.4" then
|
||||
known_options.generational = nil;
|
||||
known_options.incremental:remove("step_size");
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue