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
017cb3fc
Commit
017cb3fc
authored
Dec 05, 2014
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Redis::InheritedError
parent
167996f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
CHANGELOG-EE
CHANGELOG-EE
+3
-0
app/workers/ldap_sync_worker.rb
app/workers/ldap_sync_worker.rb
+3
-1
No files found.
CHANGELOG-EE
View file @
017cb3fc
...
@@ -2,6 +2,9 @@ v 7.6.0
...
@@ -2,6 +2,9 @@ v 7.6.0
- Added Audit events related to membership changes for groups and projects
- Added Audit events related to membership changes for groups and projects
- Added option to attempt a rebase before merging merge request
- Added option to attempt a rebase before merging merge request
v 7.5.3
- Only set up Sidetiq from a Sidekiq server process (fixes Redis::InheritedError)
v 7.5.0
v 7.5.0
- Added an ability to check each author commit's email by regex
- Added an ability to check each author commit's email by regex
- Added an ability to restrict commit authors to existing Gitlab users
- Added an ability to restrict commit authors to existing Gitlab users
...
...
app/workers/ldap_sync_worker.rb
View file @
017cb3fc
...
@@ -2,7 +2,9 @@ class LdapSyncWorker
...
@@ -2,7 +2,9 @@ class LdapSyncWorker
include
Sidekiq
::
Worker
include
Sidekiq
::
Worker
include
Sidetiq
::
Schedulable
include
Sidetiq
::
Schedulable
if
Gitlab
.
config
.
ldap
.
enabled
# We check if we are in a Sidekiq server process because of a bug in Sidetiq
# 0.6.1 which was giving Unicorn trouble (throwing a Redis::InheritedError).
if
Gitlab
.
config
.
ldap
.
enabled
&&
Sidekiq
.
server?
HOUR
=
Gitlab
.
config
.
ldap
.
schedule_sync_hour
HOUR
=
Gitlab
.
config
.
ldap
.
schedule_sync_hour
MINUTE
=
Gitlab
.
config
.
ldap
.
schedule_sync_minute
MINUTE
=
Gitlab
.
config
.
ldap
.
schedule_sync_minute
...
...
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