# Uso di hash non sicuro nei thread in Logster

**URL:** <https://meta.discourse.org/t/thread-unsafe-hash-usage-in-logster/225332>\
**Category:** Bug\
**Created:** [26 Aprile 2022, 3:13pm UTC](https://meta.discourse.org/t/thread-unsafe-hash-usage-in-logster/225332 "2022-04-26T15:13:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![bjfish](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bjfish/32/188318_2.png) [@bjfish](https://meta.discourse.org/u/bjfish)\
**Post date:** [26 Aprile 2022, 3:13pm UTC](https://meta.discourse.org/t/thread-unsafe-hash-usage-in-logster/225332/1 "2022-04-26T15:13:47Z")

</div>

Durante l’utilizzo di discourse in un’implementazione Ruby multithread e server (TruffleRuby/Puma), gli errori sono prodotti dall’uso non sicuro della hash nella gemma logster vicino a questa sezione:

[https://github.com/discourse/logster/blob/31849a4154c6b1edb05fe6d241076329aa228359/lib/logster/logger.rb#L23-L29](https://github.com/discourse/logster/blob/31849a4154c6b1edb05fe6d241076329aa228359/lib/logster/logger.rb#L23-L29)

---

_[View the full topic](https://meta.discourse.org/t/thread-unsafe-hash-usage-in-logster/225332)._
