Skip to content

Commit

Permalink
临时修改BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyoo0812 committed Nov 17, 2023
1 parent 1c033cf commit 7d8c9d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/template/share.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set_env("QUANTA_APP_ID", "{{%= QUANTA_APP_ID or 379673 %}}")
--服务名称
set_env("QUANTA_SERVICE", "quanta")
--服务索引
set_env("QUANTA_INDEX", "1")
set_env("QUANTA_CLUSTER", "{{%= QUANTA_INDEX or 1 %}}")
--服务大区
set_env("QUANTA_CLUSTER", "{{%= QUANTA_CLUSTER or 1 %}}")
--服务小区
Expand Down
2 changes: 1 addition & 1 deletion server/business/attr/attribute_relay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ function AttributeRelay:on_attr_relay(player, player_id)
end
end
if next(attrs) then
player:set_relay_attrs({})
local ok, code = player:call_service(service_name, "rpc_attr_relay", attrs, quanta.service)
if qfailed(code, ok) then
log_err("[AttributeRelay][on_attr_relay] sync failed attrs={}, player_id={}, code={}", attrs, player_id, code)
end
end
end
player:set_relay_attrs({})
end

quanta.attr_relay = AttributeRelay()
Expand Down

0 comments on commit 7d8c9d8

Please sign in to comment.