diff options
author | Andreas Schneider <asn@samba.org> | 2012-09-27 19:01:15 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-10-01 20:28:23 +0200 |
commit | aa6a7a97803b1106d2200c889a2260f81059c450 (patch) | |
tree | b0b8a3d31da164cef5f1ccc386789a3cecfb7d06 /source3/printing/nt_printing_tdb.c | |
parent | 8da8a2289ea51d4fcdf6b5352a46c14d36d8f072 (diff) | |
download | samba-aa6a7a97803b1106d2200c889a2260f81059c450.tar.gz samba-aa6a7a97803b1106d2200c889a2260f81059c450.tar.bz2 samba-aa6a7a97803b1106d2200c889a2260f81059c450.zip |
s3fs-smbd: Move housekeeping to the background process.
If you add 200 printers using lpadmin. Then you wait for the printcap
cache to expire. As soon as this expires we notify all deamons that they
should reload the printers. This mean we need to create the default
registry keys for each printer. If you do e.g. a 'smbclient -L' during
that time you will get a lot of timeouts.
This lets the housekeeping function of the printcap cache do the task of
creating the default registry keys in background queue process. When it is done
with the task it will tell all smbd childs to reload the printers and the 200
printers appear.
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Oct 1 20:28:23 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/printing/nt_printing_tdb.c')
0 files changed, 0 insertions, 0 deletions