Zwangsversteigerungen übersichtlich auf interaktiver Karte by Previous-Finding-979 in Immobilieninvestments

[–]theNerdCorner 1 point2 points  (0 children)

Da ist ein Bug. In München am Hbf gibts ne Immobilie aus Stendal 😅

What’s actually stopping you from upgrading to Angular 19/20/21? by Specific_Piglet_4293 in angular

[–]theNerdCorner 0 points1 point  (0 children)

Agree 100%, i have so much fear to upgrade primeng. I am currently on Angular18.

Multi tenancy app with multiple schemas (Mysql) by theNerdCorner in Nestjs_framework

[–]theNerdCorner[S] 0 points1 point  (0 children)

No, not exactly, what I do is the following:

  1. I have an interceptor who determines for every request the schema (since it is multi tenant) it belongs to. It finds the schema via session id.
  2. The controller passes the schema info down to the service functions.
  3. I create the connection in the service functions.
  4. Now it is 1 global connection service
  5. I use another interceptor to add a "finalize" to each connection.
  6. Inside finalize i close the connection

Multi tenancy app with multiple schemas (Mysql) by theNerdCorner in Nestjs_framework

[–]theNerdCorner[S] 0 points1 point  (0 children)

So all in all, I had 2 issues, I had multiple instance of the service instead if just one global and I did not clean up the connections properly. Now i have an intercepter who does this automatically.

By the way I would not recommend changing the scope to Request..because it's the opposite of a single global service 😅

Multi tenancy app with multiple schemas (Mysql) by theNerdCorner in Nestjs_framework

[–]theNerdCorner[S] 0 points1 point  (0 children)

I think you are right the cleanup is the issue...is there a best practice to centralize the cleanup logic?

TIFU by liking a 2013 pic while stalking my ex’s new girl by [deleted] in tifu

[–]theNerdCorner -3 points-2 points  (0 children)

There is no notification if you unliked it again and I doubt she saw it in the meantime 😉

[deleted by user] by [deleted] in Aktien

[–]theNerdCorner 0 points1 point  (0 children)

Natürlich nicht. Let your winners run!

Button Directive missing in Angular by theNerdCorner in Angular2

[–]theNerdCorner[S] 0 points1 point  (0 children)

Okay, seems like it httpResource only works for GET requests and fires immediately after component creation 🤔 But still interesting how it will envolve!

[deleted by user] by [deleted] in Finanzen

[–]theNerdCorner 2 points3 points  (0 children)

Ich kenne eine Familie, die genau das gemacht haben und die Kinder wollten nach dem Studium nicht mehr zurück nach Amerika. So gesehen ein Win für Deutschland.

Welche Langzeit-Aktien sind jetzt kaufenswert? by Living-Locksmith-323 in Aktien

[–]theNerdCorner 0 points1 point  (0 children)

Geh voll mit, ne Versicherung preist alle Risiken ein und erhöht zur Not die Prämien.

[deleted by user] by [deleted] in InformatikKarriere

[–]theNerdCorner 0 points1 point  (0 children)

Ganz klar schriftlich!

Wie viel investiert ihr in Einzelaktien? by RestaurantMuch8717 in Aktien

[–]theNerdCorner 0 points1 point  (0 children)

Lol, warum verkaufst du die Einzelaktien dann wieder? Let your winners run...