tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
Limits.cs
Go to the documentation of this file.
1using System;
2
4{
8 public static class Limits
9 {
13 public const int MaximumStringLength = 10000;
14
18 public const int CronStringLength = 1000;
19
23 public const int MaximumIndexableStringLength = 100;
24
28 public const int MaximumCommitShaLength = 40;
29
33 public const int MaximumFileTransferSize = Int32.MaxValue;
34 }
35}
Sanity limits to prevent users from overloading.
Definition Limits.cs:9
const int CronStringLength
Length limit for cron strings in fields.
Definition Limits.cs:18
const int MaximumStringLength
Length limit for strings in fields.
Definition Limits.cs:13
const int MaximumIndexableStringLength
Length limit for NamedEntity.Names.
Definition Limits.cs:23
const int MaximumCommitShaLength
Length limit for git commit SHAs.
Definition Limits.cs:28
const int MaximumFileTransferSize
The maximum size for file transfers.
Definition Limits.cs:33