Muhammed Efe Çetin
c62dd16e8d
Merge remote-tracking branch 'origin/master' into v3-beta
2022-11-27 20:34:48 +03:00
leonklingele
a0645af1ed
Fix and optimize memory storage ( #2207 )
...
* internal/memory: cache timestamp
* internal/memory: ensure to never delete non-expired items
This fixes a TOCTOU problem between a mutex rlock and a mutex lock.
* internal/memory: move costly operations outside of locked area
* internal/storage: cache timestamp
* internal/storage: ensure to never delete non-expired items
This fixes a TOCTOU problem between a mutex rlock and a mutex lock.
* internal/storage: move costly operations outside of locked area
2022-11-14 08:21:03 +01:00
Kris Carr
f26d9b1d4e
v3 (deps): update to use gofiber/utils/v2 ( #2184 )
2022-10-31 16:44:53 +03:00
Muhammed Efe Çetin
9428befb9c
Merge remote-tracking branch 'origin/master' into v3-beta
2022-10-28 17:26:17 +03:00
RW
ce2d087394
Improve memory storage ( #2162 )
...
* improve memory storage code and performance
* improve memory storage code and performance
* improve memory storage code and performance
* improve memory storage code and performance
* improve memory storage code and performance
* improve memory storage code and performance
2022-10-19 16:22:42 +02:00
Muhammed Efe Çetin
3b943d79c9
v3: remove internal/template/html, replace internal/memory by internal/storage/memory
2022-06-04 14:19:59 +03:00
M. Efe Çetin
8bd1509311
Change default gc interval. ( #1756 )
2022-02-07 13:42:40 +01:00
RW
3e8227d7eb
FIX: panic: unaligned 64-bit atomic operation [32 bit machines] #1487 ( #1502 )
...
* 🐛 panic: unaligned 64-bit atomic operation [32 bit machines] #1487
https://pkg.go.dev/sync/atomic#pkg-notes
https://go101.org/article/memory-layout.html
https://github.com/golang/go/issues/36606
* 🐛 panic: unaligned 64-bit atomic operation [32 bit machines] #1487
change from uin64 to uint32 for the timestamp -> max value is 4294967295 -> Sun Feb 07 2106 06:28:15 GMT+0000
2021-08-22 10:28:34 +02:00
Fenny
323d9d89cc
🩹 fix manager logic
2020-11-23 07:38:42 +01:00