| 793 | } |
| 794 | |
| 795 | static void PythonSessionCtx_Set(PythonSessionCtx* s){ |
| 796 | pthread_mutex_lock(&PySessionsLock); |
| 797 | PythonSessionCtx_Del(s); |
| 798 | RedisModule_DictSetC(SessionsDict, s->sessionId, strlen(s->sessionId), s); |
| 799 | s->linkedTo = LinkedTo_PrimaryDict; |
| 800 | pthread_mutex_unlock(&PySessionsLock); |
| 801 | } |
| 802 | |
| 803 | static int PythonSessionCtx_DownloadWheels(PythonSessionCtx* session){ |
| 804 | for(size_t i = 0 ; i < array_len(session->requirements) ; ++i){ |
no test coverage detected