-
Notifications
You must be signed in to change notification settings - Fork 323
Closed
Description
Because dynamic sessions don't have a setting associated with them most message stores reject them:
File Message Store:
Lines 48 to 51 in 94d7217
| sessionSettings, ok := f.settings.SessionSettings()[sessionID] | |
| if !ok { | |
| return nil, fmt.Errorf("unknown session: %v", sessionID) | |
| } |
SQL Store:
Lines 54 to 57 in 94d7217
| sessionSettings, ok := f.settings.SessionSettings()[sessionID] | |
| if !ok { | |
| return nil, fmt.Errorf("unknown session: %v", sessionID) | |
| } |
Mongo Store:
Lines 45 to 48 in 94d7217
| sessionSettings, ok := f.settings.SessionSettings()[sessionID] | |
| if !ok { | |
| return nil, fmt.Errorf("unknown session: %v", sessionID) | |
| } |
It seems like in the case the session settings aren't found we should default back to the global settings if possible for dynamic session cases.
If this seems sensible I could work on adding it.
Metadata
Metadata
Assignees
Labels
No labels