Skip to content

Consider moving tarantool.* ini settings to the instance level #75

Open
@rybakit

Description

@rybakit

Is there a reason to put settings like timeout, persistence, etc in php.ini? Usually, such kind of settings are made to be configurable on an instance level, instead of globally. See some examples:

http://php.net/manual/en/mongodb-driver-manager.construct.php
https://github.com/phpredis/phpredis#example-1
http://php.net/manual/en/function.pg-connect.php

So, currently you can't have two Tarantool instances with different timeout settings, or one with a persistent connection while the other with a regular one. Also, putting those settings in php.ini decreases scripts portability, as the same script can behave differently depending on php.ini settings.

Metadata

Metadata

Assignees

Labels

featureA new functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions