ebu / OSCIED

Open Source Cloud Infrastructure for Encoding and Distribution
Other
16 stars 2 forks source link

Lib : Make OsciedCRUDMapper "thread safe" (e.g. add auth attribute per request ...) #109

Open davidfischer-ch opened 11 years ago

davidfischer-ch commented 11 years ago

Threads : T1, T2

[T1] api_client.auth = auth1 [T2] api_client.auth = auth2 [T2] len(api_client.users) <- client auth is auth2 = OK [T1] api_client.users.add(...) <- client auth is auth2 = NOT OK