提交 5a7b94f6 编写于 作者: G Grzegorz Bizon

Ensure that app settings contains runners registration token

上级 30e29bb9
......@@ -78,6 +78,8 @@ class ApplicationSetting < ActiveRecord::Base
end
end
before_save :ensure_runners_registration_token
after_commit do
Rails.cache.write(CACHE_KEY, self)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册