Listing A
#if defined(ALLOW_RETRIES)
const int ALLOW_RETRIES = 5;
#else
// we don't allow retries - it should succeed the first time
const int ALLOW_RETRIES = 1;
#endif
 
 
 
 
 
 
#if defined( TESTING_SENDING_ONE_THREAD)
const int SEND_THREADS = 1;
// don't check credentials - much faster
const bool CHECK_CREDENTIALS = false;
 
 
#elif defined( NDEBUG)
// release
 
 
const int SEND_THREADS = 10;
const bool CHECK_CREDENTIALS = true;
 
 
#else
// debug
 
 
const int SEND_THREADS = 10;
// don't check credentials - much faster
const bool CHECK_CREDENTIALS = false;
#endif