Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pivotal ID # 185900074: Accept Requests With Large Directories Times Out #759

Merged

Conversation

jhoanmanuelms
Copy link
Contributor

https://www.pivotaltracker.com/story/show/185900074

Avoid directories calculation at the moment of generating pagetab

Avoid directories calculation at the moment of generating pagetab
@jhoanmanuelms jhoanmanuelms self-assigned this Oct 12, 2023
@@ -8,9 +8,11 @@ import ebi.ac.uk.model.BioFile

internal const val TO_FILE_EXTENSIONS = "ebi.ac.uk.extended.mapping.to.ToFileKt"

fun ExtFile.toFile(): BioFile {
fun ExtFile.toFile(calculateDirectories: Boolean = true): BioFile {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is confusing for me when the files size need to be calculated and when not. Like all operations support both calculating them and not calculating. How is posible that calculating them is some parts is good but in others not? I think code does not reveal when is necesary to calculated and when is not

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree to always use false

@jhoanmanuelms jhoanmanuelms merged commit 8d05f6b into master Nov 6, 2023
@jhoanmanuelms jhoanmanuelms deleted the bugfix/pivotal-#185900074-avoid-directories-calculation branch November 6, 2023 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants