-
Notifications
You must be signed in to change notification settings - Fork 638
Expand file tree
/
Copy pathstub_HelperChildConfig.cc
More file actions
45 lines (38 loc) · 1.09 KB
/
stub_HelperChildConfig.cc
File metadata and controls
45 lines (38 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* Copyright (C) 1996-2026 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
#include "squid.h"
#include "globals.h"
#include "helper/ChildConfig.h"
#define STUB_API "stub_HelperChildconfig.cc"
#include "tests/STUB.h"
#include <cstring>
Helper::ChildConfig::ChildConfig():
n_max(0),
n_startup(0),
n_idle(1),
concurrency(0),
n_running(0),
n_active(0),
queue_size(0),
onPersistentOverload(actDie),
defaultQueueSize(true)
{}
Helper::ChildConfig::ChildConfig(const unsigned int m):
n_max(m),
n_startup(0),
n_idle(1),
concurrency(0),
n_running(0),
n_active(0),
queue_size(2 * m),
onPersistentOverload(actDie),
defaultQueueSize(true)
{}
int Helper::ChildConfig::needNew() const STUB_RETVAL(0)
void Helper::ChildConfig::parseConfig() STUB
Helper::ChildConfig & Helper::ChildConfig::updateLimits(const Helper::ChildConfig &) STUB_RETVAL(*this)