aboutsummaryrefslogtreecommitdiff
path: root/version.cmake
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-23 11:19:16 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-23 11:19:16 +0000
commit22581a04415c571461368c434ece72e5756d4fbd (patch)
tree297d41978d509d57f9ce25cc3a35b33167b7fbe6 /version.cmake
parentMerge pull request #554 (diff)
downloadmonero-22581a04415c571461368c434ece72e5756d4fbd.tar.xz
epee: regularly cleanup connections we kept a reference to
Since connections from the ::connect method are now kept in a deque to be able to cancel them on exit, this leaks both memory and a file descriptor. Here, we clean those up after 30 seconds, to avoid this. 30 seconds is higher then the 5 second timeout used in the async code, so this should be safe. However, this is an assumption which would break if that async code was to start relying on longer timeouts.
Diffstat (limited to 'version.cmake')
0 files changed, 0 insertions, 0 deletions