1
0
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:
Ruben S. Montero 2012-04-29 23:41:34 +02:00
parent 38c5992cd8
commit f64fccdaad
2 changed files with 5 additions and 8 deletions

View File

@ -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
*/

View File

@ -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