mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-13 18:04:16 +01:00
up random data for speedtest to 100mb
This commit is contained in:
parent
62b0730502
commit
0d72e3b40e
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ public class SpeedTestController : ControllerBase
|
||||||
|
|
||||||
var randomByteData = _memoryCache.GetOrCreate(RandomByteDataName, (entry) =>
|
var randomByteData = _memoryCache.GetOrCreate(RandomByteDataName, (entry) =>
|
||||||
{
|
{
|
||||||
byte[] data = new byte[10 * 1024 * 1024];
|
byte[] data = new byte[100 * 1024 * 1024];
|
||||||
new Random().NextBytes(data);
|
new Random().NextBytes(data);
|
||||||
return data;
|
return data;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue