mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
feature #1243: Do not store uneeded vars in Scheduler class
This commit is contained in:
parent
38c5992cd8
commit
f64fccdaad
@ -155,11 +155,6 @@ private:
|
||||
*/
|
||||
unsigned int host_dispatch_limit;
|
||||
|
||||
/**
|
||||
* Type of migrations when rescheduling a VM: 0 cold, 1 live
|
||||
*/
|
||||
unsigned int live_rescheds;
|
||||
|
||||
/**
|
||||
* Threshold value to round up freecpu
|
||||
*/
|
||||
|
@ -65,15 +65,17 @@ extern "C" void * scheduler_action_loop(void *arg)
|
||||
|
||||
void Scheduler::start()
|
||||
{
|
||||
int rc;
|
||||
int rc;
|
||||
|
||||
ifstream file;
|
||||
ostringstream oss;
|
||||
|
||||
string etc_path;
|
||||
int oned_port;
|
||||
|
||||
pthread_attr_t pattr;
|
||||
int oned_port;
|
||||
unsigned int live_rescheds;
|
||||
|
||||
pthread_attr_t pattr;
|
||||
|
||||
// -----------------------------------------------------------
|
||||
// Log system & Configuration File
|
||||
|
Loading…
x
Reference in New Issue
Block a user