Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
notifications-bot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
archives
notifications-bot
Merge requests
!19
Update firebase error handling for more info & better handling
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Update firebase error handling for more info & better handling
hotfix/firebase-handling
into
dev
Overview
0
Commits
10
Pipelines
0
Changes
9
Merged
Update firebase error handling for more info & better handling
Jonah Husson
requested to merge
hotfix/firebase-handling
into
dev
Dec 27, 2021
Overview
0
Commits
10
Pipelines
0
Changes
9
0
0
Merge request reports
Compare
dev
version 10
9cf556b6
Dec 30, 2021
version 9
1942f67f
Dec 30, 2021
version 8
e282328d
Dec 30, 2021
version 7
72ccad89
Dec 30, 2021
version 6
40ebbb03
Dec 30, 2021
version 5
596a8f03
Dec 30, 2021
version 4
c52f1208
Dec 28, 2021
version 3
03dfc8a1
Dec 28, 2021
version 2
c872ebac
Dec 28, 2021
version 1
4b45e314
Dec 27, 2021
dev (base)
and
version 9
latest version
9cf556b6
10 commits,
Dec 30, 2021
version 10
9cf556b6
10 commits,
Dec 30, 2021
version 9
1942f67f
9 commits,
Dec 30, 2021
version 8
e282328d
8 commits,
Dec 30, 2021
version 7
72ccad89
7 commits,
Dec 30, 2021
version 6
40ebbb03
6 commits,
Dec 30, 2021
version 5
596a8f03
5 commits,
Dec 30, 2021
version 4
c52f1208
4 commits,
Dec 28, 2021
version 3
03dfc8a1
3 commits,
Dec 28, 2021
version 2
c872ebac
2 commits,
Dec 28, 2021
version 1
4b45e314
1 commit,
Dec 27, 2021
9 files
+
284
−
88
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
cmd/root.go
+
8
−
6
View file @ 1942f67f
Edit in single-file editor
Open in Web IDE
Show full file
@@ -71,14 +71,16 @@ var rootCmd = &cobra.Command{
}
viper
.
SetDefault
(
"notificationRate"
,
30
)
viper
.
SetDefault
(
"notificationsPerBatch"
,
20
)
viper
.
SetDefault
(
"maxNotificationPayload"
,
4096
)
// Populate params
NotificationParams
=
notifications
.
Params
{
Address
:
localAddress
,
CertPath
:
certPath
,
KeyPath
:
keyPath
,
FBCreds
:
fbCreds
,
NotificationRate
:
viper
.
GetInt
(
"notificationRate"
),
NotificationsPerBatch
:
viper
.
GetInt
(
"notificationsPerBatch"
),
Address
:
localAddress
,
CertPath
:
certPath
,
KeyPath
:
keyPath
,
FBCreds
:
fbCreds
,
NotificationRate
:
viper
.
GetInt
(
"notificationRate"
),
NotificationsPerBatch
:
viper
.
GetInt
(
"notificationsPerBatch"
),
MaxNotificationPayload
:
viper
.
GetInt
(
"maxNotificationPayload"
),
APNS
:
notifications
.
APNSParams
{
KeyPath
:
apnsKeyPath
,
KeyID
:
viper
.
GetString
(
"apnsKeyID"
),
Loading