ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.212 by root, Tue Feb 13 19:25:44 2007 UTC vs.
Revision 1.213 by root, Tue Feb 13 20:01:04 2007 UTC

2300 cfg_load; 2300 cfg_load;
2301 db_init; 2301 db_init;
2302 load_extensions; 2302 load_extensions;
2303 2303
2304 $TICK_WATCHER->start; 2304 $TICK_WATCHER->start;
2305 $WRITE_RUNTIME_WATCHER->start;
2305 Event::loop; 2306 Event::loop;
2306} 2307}
2307 2308
2308############################################################################# 2309#############################################################################
2309# initialisation and cleanup 2310# initialisation and cleanup
2372 2373
2373 warn "reloading..."; 2374 warn "reloading...";
2374 2375
2375 warn "entering sync_job"; 2376 warn "entering sync_job";
2376 2377
2377 sync_job { 2378 cf::sync_job {
2378 write_runtime; 2379 cf::write_runtime;
2379 cf::emergency_save; 2380 cf::emergency_save;
2380 write_runtime; 2381 cf::write_runtime;
2381 2382
2382 warn "syncing database to disk"; 2383 warn "syncing database to disk";
2383 BDB::db_env_txn_checkpoint $DB_ENV; 2384 BDB::db_env_txn_checkpoint $DB_ENV;
2384 2385
2385 # if anything goes wrong in here, we should simply crash as we already saved 2386 # if anything goes wrong in here, we should simply crash as we already saved

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines