|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
How much a MemoryFileStore keeps. More...
#include <file_store.hpp>
Public Attributes | |
| std::size_t | maxFileBytes = std::size_t{64} * 1024 * 1024 |
| The largest file it accepts. | |
| std::size_t | maxBytesPerPrincipal = std::size_t{256} * 1024 * 1024 |
| The most bytes it keeps for one principal, uploads in progress included. | |
| std::chrono::seconds | uploadTtl {3600} |
| How long an upload may go without a chunk before it is dropped. | |
| std::function< std::chrono::steady_clock::time_point()> | clock |
| The clock expiry reads; the steady clock when empty. | |
How much a MemoryFileStore keeps.
Definition at line 150 of file file_store.hpp.
| std::size_t morph::ui::MemoryFileStoreOptions::maxFileBytes = std::size_t{64} * 1024 * 1024 |
The largest file it accepts.
Definition at line 152 of file file_store.hpp.
| std::size_t morph::ui::MemoryFileStoreOptions::maxBytesPerPrincipal = std::size_t{256} * 1024 * 1024 |
The most bytes it keeps for one principal, uploads in progress included.
Definition at line 154 of file file_store.hpp.
| std::chrono::seconds morph::ui::MemoryFileStoreOptions::uploadTtl {3600} |
How long an upload may go without a chunk before it is dropped.
Definition at line 156 of file file_store.hpp.
| std::function<std::chrono::steady_clock::time_point()> morph::ui::MemoryFileStoreOptions::clock |
The clock expiry reads; the steady clock when empty.
Definition at line 158 of file file_store.hpp.