Commit 4ba9aa6
Use constants for TLS session cache default values
Define _DEFAULT_TLS_SESSION_CACHE_SIZE and _DEFAULT_TLS_SESSION_CACHE_TTL
constants to avoid duplicating default values in multiple places. This
makes it easier to maintain and change these defaults in the future.
The constants are now used in:
- Class attribute definitions
- __init__ method signature defaults
Co-authored-by: mykaul <[email protected]>1 parent 57a5895 commit 4ba9aa6
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
198 | 202 | | |
199 | 203 | | |
200 | 204 | | |
| |||
886 | 890 | | |
887 | 891 | | |
888 | 892 | | |
889 | | - | |
| 893 | + | |
890 | 894 | | |
891 | 895 | | |
892 | 896 | | |
| |||
896 | 900 | | |
897 | 901 | | |
898 | 902 | | |
899 | | - | |
| 903 | + | |
900 | 904 | | |
901 | 905 | | |
902 | 906 | | |
| |||
1236 | 1240 | | |
1237 | 1241 | | |
1238 | 1242 | | |
1239 | | - | |
1240 | | - | |
| 1243 | + | |
| 1244 | + | |
1241 | 1245 | | |
1242 | 1246 | | |
1243 | 1247 | | |
| |||
0 commit comments