[QFJ-967] FileStoreMaxCachedMsgs incorrect in documentation Created: 06/Dec/18 Updated: 07/Dec/18 Resolved: 07/Dec/18 |
|
| Status: | Closed |
| Project: | QuickFIX/J |
| Component/s: | Documentation |
| Affects Version/s: | 2.1.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Default |
| Reporter: | mark zeldis | Assignee: | Unassigned |
| Resolution: | Not a bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
In https://www.quickfixj.org/usermanual/2.0.0/usage/configuration.html It says the default for FileStoreMaxCachedMsgs is 10k. I believe that this isn't true. It's Integer.MAX_VALUE. |
| Comments |
| Comment by Christoph John [ 07/Dec/18 ] |
|
Hi, why do you think it is Integer.MAX_VALUE? Here are the relevant sections of code: Here the FileStore is initialized with a default of maxCachedMsgs = 10000 : Here is the code in FileStore where the messageIndex is kept at the size of maxCachedMsg: Cheers, |