diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/p2p/p2p.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/p2p/p2p.c b/src/p2p/p2p.c index f55fa6d..5dc874f 100644 --- a/src/p2p/p2p.c +++ b/src/p2p/p2p.c @@ -42,7 +42,11 @@ static void p2p_scan_timeout(void *eloop_ctx, void *timeout_ctx); * P2P_PEER_EXPIRATION_AGE - Number of seconds after which inactive peer * entries will be removed */ +#ifdef ANDROID_P2P +#define P2P_PEER_EXPIRATION_AGE 30 +#else #define P2P_PEER_EXPIRATION_AGE 300 +#endif #define P2P_PEER_EXPIRATION_INTERVAL (P2P_PEER_EXPIRATION_AGE / 2) |