mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 15:30:52 +01:00
ircd::db: Move the port define; explain.
This commit is contained in:
parent
1a0d297a09
commit
66e5a19751
2 changed files with 8 additions and 4 deletions
|
@ -51,16 +51,14 @@
|
|||
#include <ircd/db/database/env/file_lock.h>
|
||||
#include <ircd/db/database/env/state.h>
|
||||
|
||||
#define IRCD_DB_PORT
|
||||
// Internal utility interface for this definition file.
|
||||
#include "db.h"
|
||||
|
||||
// RocksDB port linktime-overriding interfaces (experimental).
|
||||
#ifdef IRCD_DB_PORT
|
||||
#include <ircd/db/database/env/port.h>
|
||||
#endif
|
||||
|
||||
// Internal utility interface for this definition file.
|
||||
#include "db.h"
|
||||
|
||||
//
|
||||
// Misc / General linkages
|
||||
//
|
||||
|
|
|
@ -30,6 +30,12 @@
|
|||
///
|
||||
//#define RB_DEBUG_DB_PORT
|
||||
|
||||
/// Defined to enable our rocksdb::port implementation which connects to our
|
||||
/// ircd::ctx threading implementation. This is experimental. Note: at this
|
||||
/// time this MUST be enabled or rocksdb's will be using posix threading and
|
||||
/// that will not work with our env.
|
||||
#define IRCD_DB_PORT
|
||||
|
||||
namespace ircd::db
|
||||
{
|
||||
struct throw_on_error;
|
||||
|
|
Loading…
Reference in a new issue