Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
54294377
Commit
54294377
authored
Aug 19, 2021
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix autoloading issues for Geo constants
parent
4ba24381
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
ee/app/helpers/ee/application_helper.rb
ee/app/helpers/ee/application_helper.rb
+1
-1
ee/app/models/ee/lfs_object.rb
ee/app/models/ee/lfs_object.rb
+1
-1
ee/app/models/ee/merge_request_diff.rb
ee/app/models/ee/merge_request_diff.rb
+1
-1
ee/app/models/ee/packages/package_file.rb
ee/app/models/ee/packages/package_file.rb
+1
-1
ee/app/models/ee/snippet_repository.rb
ee/app/models/ee/snippet_repository.rb
+1
-1
ee/app/models/ee/terraform/state_version.rb
ee/app/models/ee/terraform/state_version.rb
+1
-1
ee/lib/ee/feature.rb
ee/lib/ee/feature.rb
+1
-1
No files found.
ee/app/helpers/ee/application_helper.rb
View file @
54294377
...
...
@@ -134,7 +134,7 @@ module EE
end
def
next_unprocessed_event
@next_unprocessed_event
||=
Geo
::
EventLog
.
next_unprocessed_event
@next_unprocessed_event
||=
::
Geo
::
EventLog
.
next_unprocessed_event
end
def
unprocessed_too_old?
...
...
ee/app/models/ee/lfs_object.rb
View file @
54294377
...
...
@@ -13,7 +13,7 @@ module EE
prepended
do
include
::
Gitlab
::
Geo
::
ReplicableModel
with_replicator
Geo
::
LfsObjectReplicator
with_replicator
::
Geo
::
LfsObjectReplicator
scope
:project_id_in
,
->
(
ids
)
{
joins
(
:projects
).
merge
(
::
Project
.
id_in
(
ids
))
}
end
...
...
ee/app/models/ee/merge_request_diff.rb
View file @
54294377
...
...
@@ -11,7 +11,7 @@ module EE
STORE_COLUMN
=
:external_diff_store
with_replicator
Geo
::
MergeRequestDiffReplicator
with_replicator
::
Geo
::
MergeRequestDiffReplicator
has_one
:merge_request_diff_detail
,
autosave:
true
,
inverse_of: :merge_request_diff
...
...
ee/app/models/ee/packages/package_file.rb
View file @
54294377
...
...
@@ -9,7 +9,7 @@ module EE
include
::
Gitlab
::
Geo
::
ReplicableModel
include
::
Gitlab
::
Geo
::
VerificationState
with_replicator
Geo
::
PackageFileReplicator
with_replicator
::
Geo
::
PackageFileReplicator
end
class_methods
do
...
...
ee/app/models/ee/snippet_repository.rb
View file @
54294377
...
...
@@ -9,7 +9,7 @@ module EE
include
::
Gitlab
::
Geo
::
VerificationState
include
FromUnion
with_replicator
Geo
::
SnippetRepositoryReplicator
with_replicator
::
Geo
::
SnippetRepositoryReplicator
end
class_methods
do
...
...
ee/app/models/ee/terraform/state_version.rb
View file @
54294377
...
...
@@ -9,7 +9,7 @@ module EE
include
::
Gitlab
::
Geo
::
ReplicableModel
include
::
Gitlab
::
Geo
::
VerificationState
with_replicator
Geo
::
TerraformStateVersionReplicator
with_replicator
::
Geo
::
TerraformStateVersionReplicator
scope
:project_id_in
,
->
(
ids
)
{
joins
(
:terraform_state
).
where
(
'terraform_states.project_id'
:
ids
)
}
end
...
...
ee/lib/ee/feature.rb
View file @
54294377
...
...
@@ -36,7 +36,7 @@ module EE
private
def
log_geo_event
(
key
)
Geo
::
CacheInvalidationEventStore
.
new
(
key_for
(
key
)).
create!
::
Geo
::
CacheInvalidationEventStore
.
new
(
key_for
(
key
)).
create!
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment