summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-31 06:59:23 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-31 06:59:23 +0000
commitf8ad53aa037b362b37592ca04b160cb81ccdecc8 (patch)
tree2d4ae0e94e6b39f85c90d9e28f0e2ae3fa0397c2 /source3/libsmb
parent36bbc13fcdfafee3d9d8dd15a9ea84a55d444bdc (diff)
downloadsamba-f8ad53aa037b362b37592ca04b160cb81ccdecc8.tar.gz
samba-f8ad53aa037b362b37592ca04b160cb81ccdecc8.tar.xz
samba-f8ad53aa037b362b37592ca04b160cb81ccdecc8.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. (This used to be commit 685f4ef2e1f83ab39e91229cf53a61eecb6181eb)
Diffstat (limited to 'source3/libsmb')
0 files changed, 0 insertions, 0 deletions