famedly / uia-proxy

GNU Affero General Public License v3.0
0 stars 0 forks source link

fix: Prevent memory leak - [merged] #53

Closed famedly-bot closed 1 year ago

famedly-bot commented 3 years ago

In GitLab by @agraven on Jun 4, 2021, 14:11

Merges agraven/memory-leak -> main

Fix TimedCache instances leaking memory by adding a timer to the TimedCache which runs every 10 seconds and deletes values whose times have expired.

Closes https://gitlab.com/famedly/company/issue-inbox/-/issues/55.

famedly-bot commented 3 years ago

In GitLab by @agraven on Jun 4, 2021, 14:20

added 2 commits

Compare with previous version

famedly-bot commented 3 years ago

In GitLab by @kate-shine on Jun 4, 2021, 14:39

requested review from @jbecker and @jdreichmann

famedly-bot commented 3 years ago

In GitLab by @jbecker on Jun 4, 2021, 14:42

Commented on src/structures/timedcache.ts line 2

disable-next-line might work as well

famedly-bot commented 3 years ago

In GitLab by @jbecker on Jun 4, 2021, 14:43

e2e tests failing are blocked behind https://gitlab.com/famedly/company/devops/environments/dev/-/issues/32, other than that this looks good to me

famedly-bot commented 3 years ago

In GitLab by @jbecker on Jun 4, 2021, 14:43

approved this merge request

famedly-bot commented 3 years ago

In GitLab by @agraven on Jun 4, 2021, 14:49

marked this merge request as ready

famedly-bot commented 3 years ago

In GitLab by @agraven on Jun 4, 2021, 14:50

Commented on src/structures/timedcache.ts line 2

I figured a disable/enable pair would be better in case additional constants are added in the future.

famedly-bot commented 3 years ago

In GitLab by @jbecker on Jun 4, 2021, 16:12

resolved all threads

famedly-bot commented 3 years ago

In GitLab by @jdreichmann on Jun 8, 2021, 09:16

approved this merge request

famedly-bot commented 3 years ago

In GitLab by @jdreichmann on Jun 8, 2021, 09:18

LGTM, the e2ee tests will still take a while because https://gitlab.com/famedly/company/devops/meta/-/issues/109 has still a lot of stuff open...

famedly-bot commented 3 years ago

In GitLab by @jbecker on Jun 8, 2021, 09:21

Just a small note since I saw that in the linked issue as well: "e2ee tests" would mean encryption tests, "e2e" is just end-to-end which is common test terminology

famedly-bot commented 3 years ago

In GitLab by @jbecker on Jun 28, 2021, 09:48

mentioned in issue famedly/company/issue-inbox#55

famedly-bot commented 3 years ago

In GitLab by @agraven on Jul 12, 2021, 13:38

added 3 commits

Compare with previous version

famedly-bot commented 3 years ago

In GitLab by @jbecker on Jul 16, 2021, 12:29

added 5 commits

Compare with previous version

famedly-bot commented 3 years ago

In GitLab by @jbecker on Jul 16, 2021, 12:29

enabled an automatic merge when the pipeline for 38aeea64df7e603036025ae585ce2a90724f81d8 succeeds

famedly-bot commented 3 years ago

In GitLab by @jbecker on Jul 16, 2021, 12:29

resolved all threads