diff options
author | 2022-02-08 13:38:44 +0100 | |
---|---|---|
committer | 2022-02-08 13:38:44 +0100 | |
commit | 8c0141d103cb70fdbe74f1d5a936860707da973f (patch) | |
tree | 8ccd4483eee676b58f9246ceadcfd13ef886962f /internal/media/types.go | |
parent | hopefully fix potential race condition (diff) | |
download | gotosocial-8c0141d103cb70fdbe74f1d5a936860707da973f.tar.xz |
store and retrieve processState atomically
Diffstat (limited to 'internal/media/types.go')
-rw-r--r-- | internal/media/types.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/media/types.go b/internal/media/types.go index b9c79d464..a6b38b467 100644 --- a/internal/media/types.go +++ b/internal/media/types.go @@ -45,7 +45,7 @@ const ( mimeImagePng = mimeImage + "/" + mimePng ) -type processState int +type processState int32 const ( received processState = iota // processing order has been received but not done yet |