We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95bbd21 commit a3063c7Copy full SHA for a3063c7
cubedash/generate.py
@@ -153,11 +153,9 @@ def print_status(
153
154
def _get_index(config: ODCEnvironment, variant: str) -> Index:
155
# Avoid long names as they will print warnings all the time.
156
- short_name = variant.replace("_", "")[:20]
157
- index: Index = index_connect(
158
- config, application_name=f"gen.{short_name}", validate_connection=False
159
- )
160
- return index
+ prefix = "gen."
+ name = f"{prefix}{variant.replace('_', '')[: 64 - len(prefix)]}"
+ return index_connect(config, application_name=name, validate_connection=False)
161
162
163
def run_generation(
0 commit comments