From 7b93408884336345dbe8779aaabcf46a51a3d257 Mon Sep 17 00:00:00 2001 From: Craig Robbins Date: Tue, 23 Dec 2014 09:25:18 +1000 Subject: Make limiting of the reflow liquids queue size optional If liquid_queue_purge_time == 0 then disable the queue size limiting and make this the default setting Additionally, liquid_loop_max now defaults to 100000 --- minetest.conf.example | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'minetest.conf.example') diff --git a/minetest.conf.example b/minetest.conf.example index 23d0a91c3..acb8d3a5d 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -99,10 +99,11 @@ # Enable a bit lower water surface; disable for speed (not quite optimized) #new_style_water = false # Max liquids processed per step -#liquid_loop_max = 10000 +#liquid_loop_max = 100000 # The time (in seconds) that the liquids queue may grow beyond processing -# capacity until an attempt is made to decrease its size by dumping old queue items -#liquid_queue_purge_time = 30 +# capacity until an attempt is made to decrease its size by dumping old queue +# items. A value of 0 disables the functionality. +#liquid_queue_purge_time = 0 # Update liquids every .. recommend for finite: 0.2 #liquid_update = 1.0 # Enable nice leaves; disable for speed -- cgit v1.2.3 git/log/src/content_object.h?h=gpcf'>logtreecommitdiff
path: root/src/content_object.h
blob: 65a8297732dc8e5f85e89be3a133b485b2469f99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
Minetest
Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef CONTENT_OBJECT_HEADER
#define CONTENT_OBJECT_HEADER