[#CConnman-ShouldRunInactivityChecks]
= xref:CConnman.adoc[CConnman]::ShouldRunInactivityChecks
:relfileprefix: ../
:mrdocs:

Return true if we should disconnect the peer for failing an inactivity check&period;

== Synopsis

Declared in `&lt;net&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
ShouldRunInactivityChecks(
    xref:CNode.adoc[CNode] const& node,
    xref:NodeClock/time_point.adoc[NodeClock::time&lowbar;point] now) const;
----

== Return Value

true if the peer should be disconnected for inactivity&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *node*
| the peer to check&period;
| *now*
| the current time&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
