Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
Minds Backend - Engine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
Minds
Minds Backend - Engine
Compare revisions
3e9e42356fee01173a913c49e84838d1d35e32a5 to 683c8704b8940a2cbfac2b49e9a834203f81e04a
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
minds/engine
Select target project
No results found
683c8704b8940a2cbfac2b49e9a834203f81e04a
Select Git revision
Swap
Target
minds/engine
Select target project
omadrid/engine
javanick/engine
minds/engine
joe59/engine
eiennohi/engine
edgebal/engine
msantang78/engine
maruthi-adithya/engine
duyquoc/engine
benhayward.ben/engine
rlperez/engine
priestd09/engine
dknunn/engine
ascenderking/engine
catastrop/engine
jim-toth/engine
project_connection/engine
manishoo/engine
murbo98/engine
namesty/engine
Moikapy/engine
bedriguler/engine
CodingNagger/engine
jun784/engine
alexgleason/engine
gigasim97/engine
auxchar/engine
pestixaba/engine
m994/engine
webprodev/minds_engine
fabiolalombardim/engine
zackwy/engine
linleyj7/engine
fiatjaf/minds-engine
ppitestsblishaokai/engine
VARUN-KUSH/engine
brainr386/engine
th2tran/engine
38 results
3e9e42356fee01173a913c49e84838d1d35e32a5
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
(feat): implemented new offsets from v2/boost/feeds
· 92748bec
Marcelo Rivera
authored
5 years ago
92748bec
(fix): if offset isn't cached, set it as 0
· 683c8704
Marcelo Rivera
authored
5 years ago
683c8704
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Controllers/api/v2/boost/fetch/campaigns.php
+4
-2
4 additions, 2 deletions
Controllers/api/v2/boost/fetch/campaigns.php
with
4 additions
and
2 deletions
Controllers/api/v2/boost/fetch/campaigns.php
View file @
683c8704
...
...
@@ -62,6 +62,10 @@ class campaigns implements Interfaces\Api
$cacheKey
=
Core\Session
::
getLoggedinUser
()
->
guid
.
':boost-offset-rotator:'
.
$type
;
$offset
=
$cacher
->
get
(
$cacheKey
);
if
(
!
$offset
)
{
$offset
=
0
;
}
// Options specific to newly created users (<=1 hour) and iOS users
if
(
$platform
===
'ios'
)
{
...
...
@@ -77,8 +81,6 @@ class campaigns implements Interfaces\Api
$data
=
[];
$offset
=
null
;
try
{
$result
=
$manager
->
fetch
([
'limit'
=>
$limit
,
...
...
This diff is collapsed.
Click to expand it.