Fix various paste errors in tempo.cc. Should fix recent regressions.
[ardour.git] / libs / lua / luastate.cc
index 3b8a7ae25a12de20846f764f35c98d1e80b61cfb..8b704fbe6a58ce6c374958bfdd6a8bdced667ea7 100644 (file)
@@ -83,7 +83,8 @@ LuaState::collect_garbage_step () {
 
 void
 LuaState::tweak_rt_gc () {
-       //lua_gc (L, LUA_GCSETPAUSE, 20);
+       /* GC runs same speed as  memory allocation */
+       lua_gc (L, LUA_GCSETPAUSE, 100);
        lua_gc (L, LUA_GCSETSTEPMUL, 100);
 }