1:- module(conf_pengines, []).    2:- if(exists_source(library(pengines))).    3:- use_module(api(pengines)).

Configure Pengines access

Provide access to ClioPatria's RDF store using pengines.

See also
- http://www.swi-prolog.org/pldoc/package/pengines.html
- http://cliopatria.swi-prolog.org/packs/trill_on_swish */
   13% Maximum time a pengine may execute
   14% :- set_setting_default(pengines:time_limit, 300).
   15
   16% Only allow connections from localhost.  Use `[*]` to allow access from
   17% anywhere.  Note that the cpack `trill_on_swish` also depends on this setting.
   18:- set_setting_default(pengines:allow_from, ['127.0.0.1']).   19
   20% Deny hosts/networks.  Deny rules are applied after allow rules, i.e.,
   21% you are granted access if you are allowed and not denied.
   22% :- set_setting_default(pengines:deny_from,  []).
   23
   24% DO NOT REMOVE THIS :- endif.
   25:- endif.