Revision 775

Date:
2019/04/22 15:28:40
Author:
ahitrov
Revision Log:
New default values

Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/plugins/sphinx/lib/sphinx/State.pm.proto

     
    18 18 $self->{tab_name} = 'sphinx';
    19 19
    20 20 # зашитая конфигурация плагина
    21 $self->{db_type} = 'proxy'; ### For REAL database use 'remote'
    21 $self->{db_type} = '@SPHINX_DB_TYPE@' || 'remote'; ### For Go-JSON proxy use 'proxy'
    22 22 $self->{db_keepalive} = 0;
    23 23 $self->{db_host} = '@SPHINX_HOST@';
    24 24 $self->{db_name} = '';
    25 25 $self->{db_user} = '';
    26 26 $self->{db_password} = '';
    27 $self->{db_port} = '@SPHINX_PORT@';
    27 $self->{db_port} = '@SPHINX_PORT@' || '9306'; ### For Go-JSON proxy use '9897' or service 'port' value from proxy config
    28 28 $self->{store_method} = 'toast';
    29 29 $self->{cascade} = 1;
    30 30 $self->{db_prepare} = 0;