diff options
author | FxQnLr <[email protected]> | 2023-11-08 12:44:17 +0100 |
---|---|---|
committer | FxQnLr <[email protected]> | 2023-11-08 12:44:17 +0100 |
commit | a197f4721d3b6e79c73f16c8db69ae9f3154acec (patch) | |
tree | 1d98e3464e8f05be11e1f4f99da904a9b05c5c2a /src/db.rs | |
parent | 4f124e6ba636e6191c2960d96d0057f3061988fc (diff) | |
download | webol-a197f4721d3b6e79c73f16c8db69ae9f3154acec.tar webol-a197f4721d3b6e79c73f16c8db69ae9f3154acec.tar.gz webol-a197f4721d3b6e79c73f16c8db69ae9f3154acec.zip |
add eta with average startup time
Diffstat (limited to 'src/db.rs')
-rw-r--r-- | src/db.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -13,7 +13,8 @@ pub struct Device { | |||
13 | pub id: String, | 13 | pub id: String, |
14 | pub mac: String, | 14 | pub mac: String, |
15 | pub broadcast_addr: String, | 15 | pub broadcast_addr: String, |
16 | pub ip: String | 16 | pub ip: String, |
17 | pub times: Option<Vec<i64>> | ||
17 | } | 18 | } |
18 | 19 | ||
19 | pub async fn init_db_pool() -> PgPool { | 20 | pub async fn init_db_pool() -> PgPool { |