Increase the download size limit to 100 MiB

This commit is contained in:
thalieht
2019-04-08 20:09:16 +03:00
parent e499317695
commit 25102b9c5d
4 changed files with 6 additions and 5 deletions

View File

@@ -36,6 +36,7 @@
#endif
const char C_TORRENT_FILE_EXTENSION[] = ".torrent";
const int MAX_TORRENT_SIZE = 100 * 1024 * 1024; // 100 MiB
template <typename T>
constexpr typename std::add_const<T>::type &asConst(T &t) noexcept { return t; }