Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 35 lines (30 sloc) 1.109 kB
c771eb8 Converted a php short tag to a long opening tag
Russell Smith authored
1 <?php
1ad0ba1 @mjpearson - batching flags for column update/deletes, columns can also be saved…
authored
2 /**
b386d91 @mjpearson uuid helper (YAY!) + E_STRICT fix to core
authored
3 * Config
e9827d9 @mjpearson fixed documentation & bugs, implemented ArrayAccess for associative a…
authored
4 *
5 * @author Michael Pearson <pandra-support@phpgrease.net>
b386d91 @mjpearson uuid helper (YAY!) + E_STRICT fix to core
authored
6 * @copyright 2010 phpgrease.net
7 * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
b82dec5 @mjpearson 0.2.1 tag
authored
8 * @version 0.2.1
b386d91 @mjpearson uuid helper (YAY!) + E_STRICT fix to core
authored
9 * @package pandra
1ad0ba1 @mjpearson - batching flags for column update/deletes, columns can also be saved…
authored
10 */
9c6866f @mjpearson BROKEN COMMIT started namespacing, unit tests incomplete. describe_r…
authored
11 namespace Pandra;
12
b715822 @mjpearson Cassandra 0.6 thrift and compatability testing (looks ok). Added nod…
authored
13 define('MODEL_OUT_DIR', dirname(__FILE__).'/models/');
14 define('SCHEMA_PATH', dirname(__FILE__).'/schemas/');
99fdaab @mjpearson Starting apc/memcached tsocket timeouts and node autodiscover (stub, …
authored
15 define('THRIFT_PORT_DEFAULT', 9160);
5d9e657 @mjpearson abstracted ossp uuid constants into uuid class (so can be swapped out…
authored
16 define('DEFAULT_ROW_LIMIT', 10);
e4d60e7 @mjpearson changed persistence to default true + getclient fix
authored
17 define('PERSIST_CONNECTIONS', TRUE); // TSocket Persistence
9c6866f @mjpearson BROKEN COMMIT started namespacing, unit tests incomplete. describe_r…
authored
18 define('CASSANDRA_CONF_PATH', '/usr/local/cassandra/conf/cassandra.yaml');
6b4f808 @mjpearson moved thrift loader out of config
authored
19
9c6866f @mjpearson BROKEN COMMIT started namespacing, unit tests incomplete. describe_r…
authored
20 define('DEFAULT_POOL_NAME', 'system');
2e6cd17 @mjpearson moved some core config consts into config.php
authored
21 define('MAX_RETRIES', 2);
22 define('RETRY_COOLDOWN', 10);
23
9c6866f @mjpearson BROKEN COMMIT started namespacing, unit tests incomplete. describe_r…
authored
24 define('THRIFT_TRANSPORT_BUFFERED', 1);
25 define('THRIFT_TRANSPORT_FRAMED', 2);
26 define('THRIFT_TRANSPORT', THRIFT_TRANSPORT_FRAMED);
27
6b4f808 @mjpearson moved thrift loader out of config
authored
28 require_once dirname(__FILE__).'/lib/loader.php';
cb5d189 @mjpearson added auto project_config include for build models
authored
29
30 // Put any extra setups in project_config.php
31 // ie: setting up loggers, creating connections etc.
32 // This is also built by build-models
33 if (file_exists(dirname(__FILE__).'/project_config.php')) {
9f89a00 @mjpearson fixed path
authored
34 require_once(dirname(__FILE__).'/project_config.php');
9c6866f @mjpearson BROKEN COMMIT started namespacing, unit tests incomplete. describe_r…
authored
35 }
Something went wrong with that request. Please try again.