store and retrieve processState atomically

This commit is contained in:
tsmethurst
2022-02-08 13:38:44 +01:00
parent dba9ad4348
commit 8c0141d103
3 changed files with 32 additions and 30 deletions

View File

@@ -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