Skip to content
Snippets Groups Projects
Commit 1e5467f8 authored by Julita Corbalan's avatar Julita Corbalan
Browse files

Update config_def.h to update PORTS and DEMO flag for DB creation

parent 9dd8ab6f
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@
* save space */
#define DB_SIMPLE 0
/* When set to 1, avg frequency and temp is reported with periodic metrics */
#define DEMO 0
#define DEMO 1
/* Maximum number of simultaneous DB connection for mysql user commands */
#define MAX_DB_CONNECTIONS 20
/* */
......@@ -64,7 +64,7 @@
#define DEFAULT_T1 60
#define DEFAULT_T2 600
#define MAX_ENERGY 300
#define EARGM_PORT_NUMBER 60000
#define EARGM_PORT_NUMBER 50001
#define DEFAULT_POWER 275
#define GRACE_T1 3
#define EAR_OVERHEAD_CONTROL 1
......@@ -85,9 +85,9 @@
#define DEF_DBD_FILE_LOG 1
#define DEF_DBD_AGGREGATION_TIME 60
#define DEF_DBD_INSERTION_TIME 30
#define DEF_DBD_SERVER_PORT 4711
#define DEF_DBD_MIRROR_PORT 4712
#define DEF_DBD_SYNCHR_PORT 4713
#define DEF_DBD_SERVER_PORT 50002
#define DEF_DBD_MIRROR_PORT 50003
#define DEF_DBD_SYNCHR_PORT 50004
/* MegaBytes allocated for caching the node metrics. */
#define DEF_DBD_ALLOC_MBS 120
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment