Mercurial > hg > dml-home
changeset 33:f6dc7a0bb309
Changes to config.
author | samer |
---|---|
date | Sat, 21 Feb 2015 02:08:36 +0000 |
parents | 52a3e7d441c5 |
children | 69a653091bc6 |
files | var/dml/config-enabled/cache.pl var/dml/run.pl var/dml/settings.db |
diffstat | 3 files changed, 33 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/var/dml/config-enabled/cache.pl Sun Feb 15 01:04:50 2015 +0000 +++ b/var/dml/config-enabled/cache.pl Sat Feb 21 02:08:36 2015 +0000 @@ -1,1 +1,22 @@ -../../../src/github/ClioPatria/config-available/cache.pl \ No newline at end of file +:- module(conf_cache, []). +:- use_module(library(semweb/rdf_cache)). + +/** <module> Configure caching of RDF inputs + +Configure caching of RDF inputs. If enabled, RDF input graphs are stored +in fast-load format in the given cache directory. This provides a huge +speedup for loading RDF into the database. Note that if persistency is +enabled (default), RDF data is stored efficiently in the files that +realise the persistent RDF database and enabling caching only makes +sense if the persistent database is frequently wiped and re-filled with +(partially) the same data. + +Unloading this plugin does _not_ disable caching. Instead, change +*enabled* to =false=. +*/ + +:- rdf_set_cache_options([ enabled(true), + global_directory('cache/rdf'), + create_global_directory(true) + ]). +
--- a/var/dml/run.pl Sun Feb 15 01:04:50 2015 +0000 +++ b/var/dml/run.pl Sat Feb 21 02:08:36 2015 +0000 @@ -39,9 +39,9 @@ % Make loading files silent. Comment if you want verbose loading. -:- current_prolog_flag(verbose, Verbose), - asserta(saved_verbose(Verbose)), - set_prolog_flag(verbose, silent). +%:- current_prolog_flag(verbose, Verbose), +% asserta(saved_verbose(Verbose)), +% set_prolog_flag(verbose, silent). /*******************************
--- a/var/dml/settings.db Sun Feb 15 01:04:50 2015 +0000 +++ b/var/dml/settings.db Sat Feb 21 02:08:36 2015 +0000 @@ -1,5 +1,5 @@ /* Saved settings - Date: Thu Feb 12 01:52:40 2015 + Date: Mon Feb 16 12:46:19 2015 */ @@ -25,10 +25,7 @@ setting(musicbrainz:min_wait, 0.91). % IP addresses from which remotes are allowed to connect -setting(pengines:allow_from, ['127.0.0.1','192.168.1.68','192.168.1.76']). - -% Pixels per inch for in browser figures -setting(matlab:pixels_per_inch, 300). +setting(pengines:allow_from, [*]). % Decoration for AudioFile URIs setting(audio_ui:audiofile_decoration, player). @@ -38,3 +35,9 @@ % Soundfont directory setting(score_ui:soundfont_dir, "~/lib/sounds/sf2"). + +% Fluidsynth initialisation file +setting(score_ui:fluidsynth_rc, piano). + +% Pixels per inch for in browser figures +setting(matlab:pixels_per_inch, 300).