Skip to content

Commit

Permalink
Merge pull request #102 from onurkaracali/add-warning-for-concurrent-…
Browse files Browse the repository at this point in the history
…access

Add a warning for concurrent access during context initialisation
  • Loading branch information
lukasniemeier-zalando committed Jan 16, 2024
2 parents 685c175 + e2ef474 commit 4bafd8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ public class ExpressServiceImpl implements ExpressService {
}
}
```
> [!CAUTION]
> Due to the way bean access is managed, concurrent use of Baigan's proxies from multiple threads during the early stages of Spring context initialization can result in concurrency issues, including the potential for deadlock.
> To mitigate this risk, it is advisable to refrain from accessing Baigan's proxies until the Spring context has been initialized.

#### Provide a configuration repository

Expand Down

0 comments on commit 4bafd8f

Please sign in to comment.