-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.json
More file actions
79 lines (79 loc) · 2.72 KB
/
Copy pathappsettings.json
File metadata and controls
79 lines (79 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"GitHub": {
"ClientId": "Ov23liF9LELIduw9N0kH",
"CallbackUrl": "http://localhost:25885/callback",
"LocalBaseUrl": "http://localhost:25885",
"PrivateRepoAccessEnabled": false,
"ApiBaseUrl": "https://api.github.com",
"ApiAccept": "application/vnd.github+json",
"ApiVersion": "2022-11-28",
"UserAgent": "Github-Trend/1.0",
"ColorsUrl": "https://raw.githubusercontent.com/ozh/github-colors/master/colors.json",
"TrendingUrl": "https://githubtrending.lessx.xyz/trending",
"GraphQlEndpoint": "https://api.github.com/graphql",
"DeviceCodeEndpoint": "https://github.com/login/device/code",
"AccessTokenEndpoint": "https://github.com/login/oauth/access_token",
"ContributorsEndpoint": "https://api.github.com/repos/{owner}/{name}/contributors",
"OpenGraphBannerUrl": "https://opengraph.githubassets.com/1/{owner}/{name}",
"ScopePublic": "read:user user:email public_repo notifications",
"ScopePrivate": "read:user user:email repo notifications"
},
"Trending": {
"MaxParallelEnrichmentRequests": 2,
"InterEnrichmentDelayMilliseconds": 300,
"MaxContributorPreviewCount": 15,
"AnonymousContributorPreviewCount": 5,
"TrendingCacheTtlHours": 24,
"RepositoryDetailsCacheTtlHours": 1,
"ImageCacheTtlHours": 1,
"ColorsCacheTtlHours": 24,
"StreamChannelCapacity": 20,
"TimeRanges": "daily,weekly,monthly,all"
},
"RateLimit": {
"MaxRetries": 3,
"BaseBackoffMilliseconds": 700,
"MaxBackoffMilliseconds": 30000,
"RetryJitterMinMilliseconds": 120,
"RetryJitterMaxMilliseconds": 850,
"ResetSafetySeconds": 2,
"CooldownFallbackSeconds": 15,
"WarningThreshold": 20,
"CriticalThreshold": 5
},
"Logging": {
"DirectoryName": "logs",
"FilePattern": "app-.log",
"RetainedFileCount": 7,
"MaxLogEntries": 500,
"DefaultActiveLevels": "DBG,INF,WRN,ERR"
},
"Images": {
"BannerMaxWidth": 640,
"AvatarMaxSize": 64
},
"Auth": {
"TokenRefreshSkewMinutes": 5,
"FallbackTokenExpiryHours": 8
},
"HttpClient": {
"PooledConnectionLifetimeMinutes": 5,
"ConnectTimeoutSeconds": 15,
"RequestTimeoutSeconds": 30
},
"AppData": {
"FolderName": "Github_Trend",
"DatabaseFileName": "github-trend.db",
"PreferencesFileName": "user_preferences.json",
"ThemePreferenceFileName": "theme_preference",
"TokenKeyFileName": "github-token.key",
"PopularLanguagesFileName": "popular-languages.json"
},
"Infos": {
"Author": "YoannDev90",
"AuthorUrl": "https://github.com/YoannDev90",
"Repository": "https://github.com/YoannDev90/Github-Trend",
"Issues": "https://github.com/YoannDev90/Github-Trend/issues",
"Releases": "https://github.com/YoannDev90/Github-Trend/releases"
}
}