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:
Max Kellermann 2024-04-03 20:30:17 +02:00
parent 8906ce07de
commit 5de8edced6
1 changed files with 1 additions and 1 deletions

View File

@ -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.