Skip to content

Commit

Permalink
refactor: Fixing memory alignment
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Apr 20, 2022
1 parent c4d6bd6 commit 2f7b826
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/ViBiOh/fibr
go 1.18

require (
github.com/ViBiOh/ChatPotte v0.0.6
github.com/ViBiOh/ChatPotte v0.0.7
github.com/ViBiOh/absto v0.5.5
github.com/ViBiOh/auth/v2 v2.12.5
github.com/ViBiOh/exas v0.4.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/ViBiOh/ChatPotte v0.0.6 h1:SvglTFvA0hSlnredARkut16Xu/lYw8F1bm39l0M7eVo=
github.com/ViBiOh/ChatPotte v0.0.6/go.mod h1:uYz4qfDDARGn+swAPZJJ1K41TBWxwZ2g+YY1LgJ/e8s=
github.com/ViBiOh/ChatPotte v0.0.7 h1:bRqgCwT4Ps6bUAHpsEsyORS9kU5QI7P+mxIC0F1C/Lg=
github.com/ViBiOh/ChatPotte v0.0.7/go.mod h1:uYz4qfDDARGn+swAPZJJ1K41TBWxwZ2g+YY1LgJ/e8s=
github.com/ViBiOh/absto v0.5.5 h1:gKLJNHOG96vBiK7KvoW0fMszuwtRPlflxFHmT7GGbHs=
github.com/ViBiOh/absto v0.5.5/go.mod h1:z34OebEK3OVuEnRGwfk1ggjM5NRe6qd7ytqA1X4RGIM=
github.com/ViBiOh/auth/v2 v2.12.5 h1:agTnD5A4o9kW4VA/BHpXCIzXv7OLHFdcVMWhE040IBA=
Expand Down
10 changes: 4 additions & 6 deletions pkg/thumbnail/thumbnail.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,13 @@ type App struct {
metric *prometheus.CounterVec

amqpClient *amqp.Client
amqpThumbnailRoutingKey string
amqpExchange string
amqpStreamRoutingKey string
amqpThumbnailRoutingKey string

vithRequest request.Request

sizes []uint64
largeSize uint64

sizes []uint64
vithRequest request.Request
largeSize uint64
maxSize int64
minBitrate uint64
directAccess bool
Expand Down

0 comments on commit 2f7b826

Please sign in to comment.