mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
new db
new database fift/func bugfixes
This commit is contained in:
parent
950e292264
commit
e30d98eb30
110 changed files with 6102 additions and 2075 deletions
14
tdutils/td/utils/port/rlimit.h
Normal file
14
tdutils/td/utils/port/rlimit.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include "td/utils/port/config.h"
|
||||
#include "td/utils/port/platform.h"
|
||||
#include "td/utils/Status.h"
|
||||
|
||||
namespace td {
|
||||
|
||||
enum class RlimitType { nofile, rss };
|
||||
|
||||
td::Status change_rlimit(RlimitType rlim_type, td::uint64 value, td::uint64 cap = 0);
|
||||
td::Status change_maximize_rlimit(RlimitType rlim, td::uint64 value);
|
||||
|
||||
} // namespace td
|
Loading…
Add table
Add a link
Reference in a new issue