diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-08-31 06:59:23 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-08-31 06:59:23 +0000 |
commit | 685f4ef2e1f83ab39e91229cf53a61eecb6181eb (patch) | |
tree | f66afb06093fb7deec8f27648c0b868880a0ed07 /source/smbd/files.c | |
parent | d7e50f0111f6c65b9d6f8654684e7fc5a1e7ea32 (diff) | |
download | samba-685f4ef2e1f83ab39e91229cf53a61eecb6181eb.tar.gz samba-685f4ef2e1f83ab39e91229cf53a61eecb6181eb.tar.xz samba-685f4ef2e1f83ab39e91229cf53a61eecb6181eb.zip |
I realised that my DMB<->DMB sync code has the property that the
amount of network traffic grows as the square of the number of
workgroups. It probably wouldn't have caused problems but to be safe I
changed the code to use random() to decrease the probability of a
DMB<->DMB sync in proportion to the number of known workgroups. This
keeps the nice browse connectivity while making the traffic rise only
linearly with the number of workgroups.
Diffstat (limited to 'source/smbd/files.c')
0 files changed, 0 insertions, 0 deletions