MCPcopy Create free account
hub / github.com/apache/trafficserver / set_schedule

Method set_schedule

plugins/certifier/certifier.cc:293–305  ·  view source on GitHub ↗

Set scheduled flag

Source from the content-addressed store, hash-verified

291
292 // Set scheduled flag
293 int
294 set_schedule(const std::string &commonName, bool flag)
295 {
296 int ret = -1;
297 TSMutexLock(list_mutex);
298 auto iter = cnDataMap.find(commonName);
299 if (iter != cnDataMap.end()) {
300 iter->second->scheduled = flag;
301 ret = 0;
302 }
303 TSMutexUnlock(list_mutex);
304 return ret;
305 }
306};
307
308// Flag for dynamic cert generation

Callers 1

shadow_cert_generatorFunction · 0.80

Calls 4

TSMutexLockFunction · 0.85
TSMutexUnlockFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected