Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::login_plugin_impl Class Reference

Public Member Functions

void expire_requests ()
 

Public Attributes

login_request_container requests {}
 
uint32_t max_login_requests = 1000000
 
uint32_t max_login_timeout = 60
 

Detailed Description

Definition at line 31 of file login_plugin.cpp.

Member Function Documentation

◆ expire_requests()

void sysio::login_plugin_impl::expire_requests ( )
inline

Definition at line 37 of file login_plugin.cpp.

37 {
38 auto& index = requests.get<login_request_time_index>();
39 auto now = fc::time_point::now();
40 for (auto it = index.begin(); it != index.end() && it->expiration_time < now; it = index.erase(it))
41 ;
42 }
static time_point now()
Definition time.cpp:14
login_request_container requests
Here is the call graph for this function:

Member Data Documentation

◆ max_login_requests

uint32_t sysio::login_plugin_impl::max_login_requests = 1000000

Definition at line 34 of file login_plugin.cpp.

◆ max_login_timeout

uint32_t sysio::login_plugin_impl::max_login_timeout = 60

Definition at line 35 of file login_plugin.cpp.

◆ requests

login_request_container sysio::login_plugin_impl::requests {}

Definition at line 33 of file login_plugin.cpp.

33{};

The documentation for this class was generated from the following file: