@@ -14,14 +14,20 @@ class Config < Anyway::Config
14
14
download_to : "/tmp" ,
15
15
file_max_size : 1024 * 1024 * 100 ,
16
16
file_extensions : [ ".zip" , ".rar" , ".7z" , ".tar" , ".gz" ] ,
17
- file_mime_types : [ "application/zip" , "application/vnd.rar" , "application/x-7z-compressed" , "application/x-tar" ,
18
- "application/gzip" ] ,
17
+ file_mime_types : [
18
+ "application/zip" ,
19
+ "application/vnd.rar" ,
20
+ "application/x-7z-compressed" ,
21
+ "application/x-tar" ,
22
+ "application/gzip"
23
+ ] ,
19
24
api_timeout : 60 ,
20
25
http_timeout : 60 ,
21
26
download_timeout : 60 ,
22
27
sentry_dsn : nil ,
23
28
sentry_trace_sample_rate : 0.25 ,
24
29
sidekiq_redis_url : nil ,
30
+ sidekiq_job_retry : 0 ,
25
31
cache_redis_url : nil ,
26
32
cache_ex : nil ,
27
33
cache_prefix : "miteru:cache" ,
@@ -44,6 +50,39 @@ class Config < Anyway::Config
44
50
# @!attribute [r] sidekiq_redis_url
45
51
# @return [String, nil]
46
52
53
+ # @!attribute [r] sidekiq_job_retry
54
+ # @return [Integer]
55
+
56
+ # @!attribute [r] cache_redis_url
57
+ # @return [String, nil]
58
+
59
+ # @!attribute [r] cache_ex
60
+ # @return [Integer, nil]
61
+
62
+ # @!attribute [r] cache_prefix
63
+ # @return [String]
64
+
65
+ # @!attribute [r] http_timeout
66
+ # @return [Integer]
67
+
68
+ # @!attribute [r] api_timeout
69
+ # @return [Integer]
70
+
71
+ # @!attribute [r] download_timeout
72
+ # @return [Integer]
73
+
74
+ # @!attribute [rw] auto_download
75
+ # @return [Boolean]
76
+
77
+ # @!attribute [rw] directory_traveling
78
+ # @return [Boolean]
79
+
80
+ # @!attribute [rw] download_to
81
+ # @return [String]
82
+
83
+ # @!attribute [rw] threads
84
+ # @return [Integer]
85
+
47
86
# @!attribute [r] cache_redis_url
48
87
# @return [String, nil]
49
88
0 commit comments