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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
--
-- Access to box.cfg from init script
--
box.cfg
background:false
checkpoint_count:2
checkpoint_interval:3600
checkpoint_wal_threshold:1e+18
coredump:false
feedback_enabled:true
feedback_host:https://feedback.tarantool.io
feedback_interval:3600
force_recovery:false
hot_standby:false
listen:port
log:tarantool.log
log_format:plain
log_level:5
memtx_dir:.
memtx_max_tuple_size:1048576
memtx_memory:107374182
memtx_min_tuple_size:16
net_msg_max:768
pid_file:box.pid
read_only:false
readahead:16320
replication_anon:false
replication_connect_timeout:30
replication_skip_conflict:false
replication_sync_lag:10
replication_sync_timeout:300
replication_synchro_quorum:1
replication_synchro_timeout:5
replication_timeout:1
slab_alloc_factor:1.05
sql_cache_size:5242880
strip_core:true
too_long_threshold:0.5
vinyl_bloom_fpr:0.05
vinyl_cache:134217728
vinyl_dir:.
vinyl_max_tuple_size:1048576
vinyl_memory:134217728
vinyl_page_size:8192
vinyl_read_threads:1
vinyl_run_count_per_level:2
vinyl_run_size_ratio:3.5
vinyl_timeout:60
vinyl_write_threads:4
wal_dir:.
wal_dir_rescan_delay:2
wal_max_size:268435456
wal_mode:write
worker_pool_threads:4
--
-- Test insert from detached fiber
--
---
- [1, 2, 4, 8]
...
--
-- Test insert from init script
--
[1, 2, 4, 8]
[2, 4, 8, 16]
[4, 8, 16]
--
-- Check that require function(math.floor) reachable in the init script
--
0
0
1
25
|