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

Function algorithm_version

include/proxy/http/PreWarmAlgorithm.h:42–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40};
41
42inline PreWarm::Algorithm
43algorithm_version(int i)
44{
45 switch (i) {
46 case 2:
47 return PreWarm::Algorithm::V2;
48 case 1:
49 return PreWarm::Algorithm::V1;
50 default:
51 ink_abort("unsupported version v=%d", i);
52 }
53}
54
55/**
56 Periodical pre-warming for algorithm v1

Callers 1

_reconfigureMethod · 0.85

Calls 1

ink_abortFunction · 0.50

Tested by

no test coverage detected