Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
dnsmasq.23728
dnsmasq-cache-size.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dnsmasq-cache-size.patch of Package dnsmasq.23728
--- src/dnsmasq.c.orig +++ src/dnsmasq.c @@ -717,7 +717,11 @@ int main (int argc, char **argv) else { if (daemon->cachesize != 0) - my_syslog(LOG_INFO, _("started, version %s cachesize %d"), VERSION, daemon->cachesize); + { + my_syslog(LOG_INFO, _("started, version %s cachesize %d"), VERSION, daemon->cachesize); + if (daemon->cachesize > 10000) + my_syslog(LOG_WARNING, _("cache size greater than 10000 may cause performance issues, and is unlikely to be useful.")); + } else my_syslog(LOG_INFO, _("started, version %s cache disabled"), VERSION); --- src/option.c.orig +++ src/option.c @@ -2579,8 +2579,6 @@ static int one_opt(int option, char *arg if (size < 0) size = 0; - else if (size > 10000) - size = 10000; daemon->cachesize = size; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor