Skip to content

Commit

Permalink
remove behind production check for channels (#4730)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluepilledgreat authored Mar 1, 2025
1 parent 7977dba commit 1258dc3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
8 changes: 0 additions & 8 deletions Bloxstrap/Bootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -305,14 +305,6 @@ private async Task GetLatestVersionInfo()
clientVersion = await Deployment.GetInfo();
}

if (clientVersion.IsBehindDefaultChannel)
{
App.Logger.WriteLine(LOG_IDENT, $"Resetting channel from {Deployment.Channel} because it's behind production");

Deployment.Channel = Deployment.DefaultChannel;
clientVersion = await Deployment.GetInfo();
}

key.SetValueSafe("www.roblox.com", Deployment.IsDefaultChannel ? "" : Deployment.Channel);

_latestVersionGuid = clientVersion.VersionGuid;
Expand Down
2 changes: 0 additions & 2 deletions Bloxstrap/Models/APIs/Roblox/ClientVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@ public class ClientVersion
public string BootstrapperVersion { get; set; } = null!;

public DateTime? Timestamp { get; set; }

public bool IsBehindDefaultChannel { get; set; }
}
}
9 changes: 0 additions & 9 deletions Bloxstrap/RobloxInterfaces/Deployment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,6 @@ public static async Task<ClientVersion> GetInfo(string? channel = null)
}
}

// check if channel is behind LIVE
if (!isDefaultChannel)
{
var defaultClientVersion = await GetInfo(DefaultChannel);

if (Utilities.CompareVersions(clientVersion.Version, defaultClientVersion.Version) == VersionComparison.LessThan)
clientVersion.IsBehindDefaultChannel = true;
}

ClientVersionCache[cacheKey] = clientVersion;
}

Expand Down

0 comments on commit 1258dc3

Please sign in to comment.