Skip to content

Commit

Permalink
fix that connection name is too long
Browse files Browse the repository at this point in the history
  • Loading branch information
wguanicedew committed Nov 10, 2022
1 parent be18f58 commit 56933c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/lib/idds/core/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def generate_collection(transform, collection, relation_type=CollectionRelationT
'workload_id': transform['workload_id'],
'coll_type': coll_type,
'scope': collection.scope,
'name': collection.name,
'name': collection.name[:254],
'relation_type': relation_type,
'bytes': coll_metadata['bytes'] if 'bytes' in coll_metadata else 0,
'total_files': coll_metadata['total_files'] if 'total_files' in coll_metadata else 0,
Expand Down

0 comments on commit 56933c3

Please sign in to comment.