Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 45c9f951 authored by Philipp Samfass's avatar Philipp Samfass
Browse files

changed sleeping period : incrementally increase sleeping time

parent 885eb475
......@@ -14,19 +14,24 @@
#include "Timing.h"
static bool shouldCorruptData;
static double sleepIncrement = 0.1 * 1e6;
static double currentSleepLength = 0.1 * 1e6;
void registerSignalHandler() {
signal(SIGUSR1, pauseThisRankSignalHandler);
signal(SIGUSR2, corruptThisRankSignalHandler);
shouldCorruptData = false;
}
void pauseThisRankSignalHandler( int signum ) {
Timing::sleepRankRaised();
const double sleepLength = 1.0 * 1e6;
//const double sleepLength = 1.0 * 1e6;
//const double sleepLength = 1.0 * 1e4;
printf("sleeping for %f\n", currentSleepLength);
logDebug( "Signal received: sleep for 1s");
usleep(sleepLength);
usleep(currentSleepLength);
currentSleepLength += sleepIncrement;
}
void corruptThisRankSignalHandler( int signum ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment