File tree 5 files changed +1267
-4
lines changed
Source/AwsCommonRuntimeKit
5 files changed +1267
-4
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ let awsCEventStreamExcludes = [
192
192
193
193
let awsCMqttExcludes = [
194
194
" bin " ,
195
- " CODE_OF_CONDUCT.md " ,
195
+ " CODE_OF_CONDUCT.md "
196
196
] + excludesFromAll
197
197
198
198
packageTargets. append ( contentsOf: [
Original file line number Diff line number Diff line change 1
1
# AwsCommonRuntimeKit
2
- The AWS CRT for Swift is currently in developer preview and is intended strictly for feedback purposes only.
2
+ The AWS CRT for Swift is currently in developer preview and is intended strictly for feedback purposes only.
3
3
Do not use this for production workloads.
4
4
5
5
## Building
@@ -29,4 +29,4 @@ Required Reading:
29
29
Useful Videos:
30
30
- [ Safely manage pointers in Swift] ( https://developer.apple.com/videos/play/wwdc2020/10167/ )
31
31
- [ Unsafe Swift] ( https://developer.apple.com/videos/play/wwdc2020/10648 )
32
- - [ Swift and C Interoperability] ( https://youtu.be/0kim9mxBOA8 )
32
+ - [ Swift and C Interoperability] ( https://youtu.be/0kim9mxBOA8 )
Original file line number Diff line number Diff line change 3
3
4
4
import AwsCIo
5
5
6
+ /// Controls how the reconnect delay is modified in order to smooth out the distribution of reconnection attempt
7
+ /// timepoints for a large set of reconnecting clients.
8
+ /// See `Exponential Backoff and Jitter <https:///aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/>`_
6
9
public enum ExponentialBackoffJitterMode {
7
- /// Uses AWS_EXPONENTIAL_BACKOFF_JITTER_FULL
10
+ /// Maps to full
8
11
/// Link to documentation: https://aws.amazon.com/builders-library/timeouts-retries-and-backoff-with-jitter/
9
12
case `default`
13
+
14
+ /// Do not perform any randomization on the reconnect delay
10
15
case none
16
+
17
+ /// Fully random between no delay and the current exponential backoff value.
11
18
case full
19
+
20
+ /// Backoff is taken randomly from the interval between the base backoff
21
+ /// interval and a scaling (greater than 1) of the current backoff value
12
22
case decorrelated
13
23
}
14
24
You can’t perform that action at this time.
0 commit comments