output/httpd/HttpdClient: convert `metaint` to a compile-time constant
After all these years, we had this as a field but there was never a way to change the value. So let's just hard-code it until we actually have a reason to make it variable at runtime.
This commit is contained in:
parent
8906ce07de
commit
5de8edced6
|
@ -93,7 +93,7 @@ class HttpdClient final
|
|||
/**
|
||||
* The amount of streaming data between each metadata block
|
||||
*/
|
||||
unsigned metaint = 8192; /*TODO: just a std value */
|
||||
static constexpr std::size_t metaint = 8192;
|
||||
|
||||
/**
|
||||
* The metadata as #Page which is currently being sent to the client.
|
||||
|
|
Loading…
Reference in New Issue