mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 18:06:55 +00:00
memory: Use a string pool for Commands
This commit is contained in:
parent
c85e8b10c3
commit
abb032f0c1
5 changed files with 65 additions and 6 deletions
|
@ -236,7 +236,7 @@ func HTTPBackendCachedPublish(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
cmd := Command(formData.Get("cmd"))
|
||||
cmd := CommandPool.Intern(formData.Get("cmd"))
|
||||
json := formData.Get("args")
|
||||
channel := formData.Get("channel")
|
||||
deleteMode := formData.Get("delete") != ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue